mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Retokenize when setTabLength() was called.
This commit is contained in:
@@ -117,6 +117,7 @@ class TokenizedBuffer extends Model
|
||||
@tabLength ? atom.config.get(scopeDescriptor ? @grammarScopeDescriptor, 'editor.tabLength')
|
||||
|
||||
setTabLength: (@tabLength) ->
|
||||
@retokenizeLines()
|
||||
|
||||
setInvisibles: (invisibles) ->
|
||||
unless _.isEqual(invisibles, @invisibles)
|
||||
|
||||
Reference in New Issue
Block a user