diff --git a/src/atom/line-folder.coffee b/src/atom/line-folder.coffee index ce529c3fc..876aea6b5 100644 --- a/src/atom/line-folder.coffee +++ b/src/atom/line-folder.coffee @@ -86,6 +86,9 @@ class LineFolder lineCount: -> @lineMap.screenLineCount() + lastRow: -> + @lineCount() - 1 + screenRowForBufferRow: (bufferRow) -> @screenPositionForBufferPosition([bufferRow, 0]).row