Add row count docs

This commit is contained in:
Ben Ogle
2014-09-02 14:50:15 -07:00
parent a7db555030
commit 3f67252757

View File

@@ -1948,6 +1948,8 @@ class Editor extends Model
# Essential: Move the cursor of each selection one character upward while
# preserving the selection's tail position.
#
# * `rowCount` {Number} of rows to select up
#
# This method may merge selections that end up intesecting.
selectUp: (rowCount) ->
@expandSelectionsBackward (selection) -> selection.selectUp(rowCount)
@@ -1955,6 +1957,8 @@ class Editor extends Model
# Essential: Move the cursor of each selection one character downward while
# preserving the selection's tail position.
#
# * `rowCount` {Number} of rows to select down
#
# This method may merge selections that end up intesecting.
selectDown: (rowCount) ->
@expandSelectionsForward (selection) -> selection.selectDown(rowCount)