Add LineFolder.lastRow

This commit is contained in:
Nathan Sobo
2012-02-22 22:40:14 -07:00
parent c658423bea
commit f7bf36eb1b

View File

@@ -86,6 +86,9 @@ class LineFolder
lineCount: ->
@lineMap.screenLineCount()
lastRow: ->
@lineCount() - 1
screenRowForBufferRow: (bufferRow) ->
@screenPositionForBufferPosition([bufferRow, 0]).row