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