     not (@rows.first is 0)
 
   getScrollTop: ->
-    @pixelCursorTop - (@editor.getHeight() - @getOffSetPixelHeight('bottom'))
+    @pixelCursorTop - (@editor.getHeight() - @getOffSetPixelHeight(1))
 
 class ScrollCursorToMiddle extends ScrollCursor
   @extend()

    @editor.setScrollRight(@pixelCursorTop)
    @putCursorOnScreen()

module.exports = {ScrollDown, ScrollUp, ScrollCursorToTop, ScrollCursorToMiddle,
  ScrollCursorToBottom, ScrollCursorToLeft, ScrollCursorToRight}

    not (@rows.last is @rows.final)

  getScrollTop: ->
    @pixelCursorTop - @getOffSetPixelHeight()

class ScrollCursorToBottom extends ScrollCursor
  @extend()
