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())