mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
📝 updating docs for getCursorAtScreenPosition - can also take an {Array}
This commit is contained in:
@@ -1563,7 +1563,7 @@ class TextEditor extends Model
|
||||
|
||||
# Essential: Get a {Cursor} at given screen coordinates {Point}
|
||||
#
|
||||
#* `position` A {Point}
|
||||
# * `position` A {Point} or {Array} of `[row, column]`
|
||||
#
|
||||
# Returns the first matched {Cursor} or undefined
|
||||
getCursorAtScreenPosition: (position) ->
|
||||
|
||||
Reference in New Issue
Block a user