mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Restore line order in TokenizedBufferIterator.prototype.seek
This commit is contained in:
@@ -13,11 +13,10 @@ class TokenizedBufferIterator
|
||||
@tagIndex = null
|
||||
|
||||
currentLine = @tokenizedBuffer.tokenizedLineForRow(position.row)
|
||||
@currentLineLength = currentLine.text.length
|
||||
@currentLineOpenTags = currentLine.openScopes
|
||||
@currentTags = currentLine.tags
|
||||
@currentLineOpenTags = currentLine.openScopes
|
||||
@currentLineLength = currentLine.text.length
|
||||
@containingTags = @currentLineOpenTags.map (id) => @tokenizedBuffer.grammar.scopeForId(id)
|
||||
|
||||
currentColumn = 0
|
||||
|
||||
for tag, index in @currentTags
|
||||
|
||||
Reference in New Issue
Block a user