Un-document passing clip options to setCursorBufferPosition

…the marker’s screen position will be clipped automatically when
translating coordinates.
This commit is contained in:
Antonio Scandurra
2016-04-06 14:44:26 +02:00
parent 3ec1027d5c
commit 25b71b804d

View File

@@ -1889,7 +1889,7 @@ class TextEditor extends Model
# If there are multiple cursors, they will be consolidated to a single cursor.
#
# * `position` A {Point} or {Array} of `[row, column]`
# * `options` (optional) An {Object} combining options for {::clipScreenPosition} with:
# * `options` (optional) An {Object} containing the following keys:
# * `autoscroll` Determines whether the editor scrolls to the new cursor's
# position. Defaults to true.
setCursorBufferPosition: (position, options) ->