mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Add row count docs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user