diff --git a/src/app/editor.coffee b/src/app/editor.coffee index 9be9022f9..e05537d6f 100644 --- a/src/app/editor.coffee +++ b/src/app/editor.coffee @@ -666,7 +666,7 @@ class Editor extends View logCursorScope: -> console.log @activeEditSession.getCursorScopes() - # Public: Emulates the "page down" key, where the last row of a buffer scrolls to become the first. + # Public: Emulates the "page down" key, where the last row of a buffer scrolls to become the first. pageDown: -> newScrollTop = @scrollTop() + @scrollView[0].clientHeight @activeEditSession.moveCursorDown(@getPageRows())