diff --git a/src/edit-session.coffee b/src/edit-session.coffee index 0c594eeb1..b1bf5f7c5 100644 --- a/src/edit-session.coffee +++ b/src/edit-session.coffee @@ -1188,12 +1188,12 @@ class EditSession @expandSelectionsBackward (selection) => selection.selectLeft() # Public: Selects all the text one position above all local cursors. - selectUp: -> - @expandSelectionsBackward (selection) => selection.selectUp() + selectUp: (rowCount) -> + @expandSelectionsBackward (selection) => selection.selectUp(rowCount) # Public: Selects all the text one position below all local cursors. - selectDown: -> - @expandSelectionsForward (selection) => selection.selectDown() + selectDown: (rowCount) -> + @expandSelectionsForward (selection) => selection.selectDown(rowCount) # Public: Selects all the text from all local cursors to the top of the # buffer. diff --git a/src/selection.coffee b/src/selection.coffee index 139ac9da0..483f9d32f 100644 --- a/src/selection.coffee +++ b/src/selection.coffee @@ -182,12 +182,12 @@ class Selection @modifySelection => @cursor.moveLeft() # Public: Selects all the text one position above the cursor. - selectUp: -> - @modifySelection => @cursor.moveUp() + selectUp: (rowCount) -> + @modifySelection => @cursor.moveUp(rowCount) # Public: Selects all the text one position below the cursor. - selectDown: -> - @modifySelection => @cursor.moveDown() + selectDown: (rowCount) -> + @modifySelection => @cursor.moveDown(rowCount) # Public: Selects all the text from the current cursor position to the top of # the buffer.