TokenizedBuffer.setTabLength retokenizes the entire buffer

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-11-06 10:44:50 -08:00
parent 2c14bc7ebd
commit 0e0f747764
2 changed files with 17 additions and 0 deletions

View File

@@ -52,6 +52,9 @@ class TokenizedBuffer
@trigger("change", {oldRange, newRange})
setTabLength: (@tabLength) ->
@buffer.trigger "change", {oldRange: @buffer.getRange(), newRange: @buffer.getRange()}
buildScreenLinesForRows: (startRow, endRow, startingStack) ->
ruleStack = startingStack
for row in [startRow..endRow]