mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
💄
This commit is contained in:
@@ -263,12 +263,15 @@ class Editor extends View
|
||||
@lines.css('padding-bottom', linesHeight)
|
||||
|
||||
renderLines: ->
|
||||
@clearLines()
|
||||
@updateLines()
|
||||
|
||||
clearLines: ->
|
||||
@lineCache = []
|
||||
@lines.find('.line').remove()
|
||||
|
||||
@firstRenderedScreenRow = -1
|
||||
@lastRenderedScreenRow = -1
|
||||
@updateLines()
|
||||
|
||||
updateLines: ->
|
||||
firstVisibleScreenRow = @getFirstVisibleScreenRow()
|
||||
|
||||
Reference in New Issue
Block a user