Remove duplicate getLastScreenRow() method

This commit is contained in:
Kevin Sawicki
2013-06-06 08:21:00 -07:00
parent efb2cfab9f
commit eaf5b8bc8e

View File

@@ -495,9 +495,6 @@ class Editor extends View
# {Delegates to: EditSession.bufferRowsForScreenRows}
bufferRowsForScreenRows: (startRow, endRow) -> @activeEditSession.bufferRowsForScreenRows(startRow, endRow)
# {Delegates to: EditSession.getLastScreenRow}
getLastScreenRow: -> @activeEditSession.getLastScreenRow()
# Public: Emulates the "page down" key, where the last row of a buffer scrolls to become the first.
pageDown: ->
newScrollTop = @scrollTop() + @scrollView[0].clientHeight