Use TextBuffer::getEndPosition

This commit is contained in:
Corey Johnson
2014-04-23 16:30:38 -07:00
parent c1907054b7
commit 1de2c14e50

View File

@@ -286,7 +286,7 @@ class TokenizedBuffer extends Model
position
findClosingBracket: (startBufferPosition) ->
range = [startBufferPosition, @buffer.getEofPosition()]
range = [startBufferPosition, @buffer.getEndPosition()]
position = null
depth = 0
@iterateTokensInBufferRange range, (token, startPosition, { stop }) ->