From 65ba95a4494a7c24fbe4697da7cd242f11d97b76 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Thu, 28 Aug 2014 15:25:23 -0700 Subject: [PATCH] Add missing docs --- src/editor.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/editor.coffee b/src/editor.coffee index 538aea1e9..2a8f88adb 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -1559,6 +1559,8 @@ class Editor extends Model # Essential: Add a cursor at the given position in buffer coordinates. # + # * `bufferPosition` A {Point} or {Array} of `[row, column]` + # # Returns a {Cursor}. addCursorAtBufferPosition: (bufferPosition) -> @markBufferPosition(bufferPosition, @getSelectionMarkerAttributes()) @@ -1566,6 +1568,8 @@ class Editor extends Model # Essential: Add a cursor at the position in screen coordinates. # + # * `screenPosition` A {Point} or {Array} of `[row, column]` + # # Returns a {Cursor}. addCursorAtScreenPosition: (screenPosition) -> @markScreenPosition(screenPosition, @getSelectionMarkerAttributes())