Merge pull request #19602 from UziTech/patch-9

Update getInvisibles documentation
This commit is contained in:
Antonio Scandurra 2019-07-15 11:26:47 +02:00 committed by GitHub
commit 059a7a5106
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -4084,7 +4084,9 @@ module.exports = class TextEditor {
}
// Returns an {Object} representing the current invisible character
// substitutions for this editor. See {::setInvisibles}.
// substitutions for this editor, whose keys are names of invisible characters
// and whose values are 1-character {Strings}s that are displayed in place of
// those invisible characters
getInvisibles() {
if (!this.mini && this.showInvisibles && this.invisibles != null) {
return this.invisibles;