mirror of
https://github.com/atom/atom.git
synced 2026-02-15 00:55:14 -05:00
Remove fallbacks for scoped properties in TextEditor
Signed-off-by: Nathan Sobo <nathan@github.com>
This commit is contained in:
committed by
Nathan Sobo
parent
16a22b9f28
commit
b97f317cd1
@@ -3432,22 +3432,22 @@ class TextEditor extends Model
|
||||
#
|
||||
# Returns a {String} containing the non-word characters.
|
||||
getNonWordCharacters: (scopes) ->
|
||||
(scopes and @scopedSettingsDelegate?.getNonWordCharacters?(scopes)) ? @nonWordCharacters
|
||||
@scopedSettingsDelegate?.getNonWordCharacters?(scopes) ? @nonWordCharacters
|
||||
|
||||
getCommentStrings: (scopes) ->
|
||||
(scopes and @scopedSettingsDelegate?.getCommentStrings?(scopes)) ? @commentStrings
|
||||
@scopedSettingsDelegate?.getCommentStrings?(scopes)
|
||||
|
||||
getIncreaseIndentPattern: (scopes) ->
|
||||
(scopes and @scopedSettingsDelegate?.getIncreaseIndentPattern?(scopes)) ? @increaseIndentPattern
|
||||
@scopedSettingsDelegate?.getIncreaseIndentPattern?(scopes)
|
||||
|
||||
getDecreaseIndentPattern: (scopes) ->
|
||||
(scopes and @scopedSettingsDelegate?.getDecreaseIndentPattern?(scopes)) ? @decreaseIndentPattern
|
||||
@scopedSettingsDelegate?.getDecreaseIndentPattern?(scopes)
|
||||
|
||||
getDecreaseNextIndentPattern: (scopes) ->
|
||||
(scopes and @scopedSettingsDelegate?.getDecreaseNextIndentPattern?(scopes)) ? @decreaseNextIndentPattern
|
||||
@scopedSettingsDelegate?.getDecreaseNextIndentPattern?(scopes)
|
||||
|
||||
getFoldEndPattern: (scopes) ->
|
||||
(scopes and @scopedSettingsDelegate?.getFoldEndPattern?(scopes)) ? @foldEndPattern
|
||||
@scopedSettingsDelegate?.getFoldEndPattern?(scopes)
|
||||
|
||||
###
|
||||
Section: Event Handlers
|
||||
|
||||
Reference in New Issue
Block a user