Preliminary approach to updating the gutter

This is just to get specs passing. We want to use the intact ranges to only render the exact lines that changed.
This commit is contained in:
Corey Johnson & Nathan Sobo
2012-11-09 11:17:42 -07:00
parent 7c16c48e2a
commit 1996eaeb54

View File

@@ -776,6 +776,7 @@ class Editor extends View
@lastRenderedScreenRow = renderTo
@updatePaddingOfRenderedLines()
@adjustMinWidthOfRenderedLines()
@gutter.renderLineNumbers(@firstRenderedScreenRow, @lastRenderedScreenRow)
# @handleScrollHeightChange()
computeIntactRanges: ->