From 3f67252757a6b2b7e95cf21893597dfd97ac3335 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 2 Sep 2014 14:50:15 -0700 Subject: [PATCH] Add row count docs --- src/editor.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/editor.coffee b/src/editor.coffee index 3782037fb..58e38ac27 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -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)