💚 Use tokenizedLine.id to refer to lines

This commit is contained in:
Antonio Scandurra
2015-09-17 11:10:32 +02:00
parent 751f5920b4
commit 42e58f1dd3
4 changed files with 16 additions and 3 deletions

View File

@@ -320,6 +320,9 @@ class LinesTileComponent
lineNodeForScreenRow: (screenRow) ->
@lineNodesByLineId[@lineIdsByScreenRow[screenRow]]
lineNodeForLineId: (lineId) ->
@lineNodesByLineId[lineId]
measureCharactersInNewLines: ->
for id, lineState of @oldTileState.lines
unless @measuredLines.has(id)