Remove cached decorations for removed lines

This commit is contained in:
Ben Ogle
2014-06-20 11:28:01 -07:00
parent b1dd4f2e8e
commit e8db3e97ce

View File

@@ -80,6 +80,7 @@ LinesComponent = React.createClass
delete @lineNodesByLineId[lineId]
delete @lineIdsByScreenRow[screenRow] if @lineIdsByScreenRow[screenRow] is lineId
delete @screenRowsByLineId[lineId]
delete @renderedDecorationsByLineId[lineId]
node.removeChild(lineNode)
appendOrUpdateVisibleLineNodes: (visibleLines, startRow) ->