mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Add LineFolder.lastRow
This commit is contained in:
@@ -86,6 +86,9 @@ class LineFolder
|
||||
lineCount: ->
|
||||
@lineMap.screenLineCount()
|
||||
|
||||
lastRow: ->
|
||||
@lineCount() - 1
|
||||
|
||||
screenRowForBufferRow: (bufferRow) ->
|
||||
@screenPositionForBufferPosition([bufferRow, 0]).row
|
||||
|
||||
|
||||
Reference in New Issue
Block a user