Retokenize when setTabLength() was called.

This commit is contained in:
Ben Ogle
2014-10-06 14:13:28 -07:00
parent 8cd217e50a
commit 857fd5eaf4
2 changed files with 10 additions and 1 deletions

View File

@@ -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)