mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use TextBuffer::getEndPosition
This commit is contained in:
@@ -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 }) ->
|
||||
|
||||
Reference in New Issue
Block a user