mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
📝 fix ::observeCursors doc
Change selection -> cursor
This commit is contained in:
@@ -354,7 +354,7 @@ class TextEditor extends Model
|
||||
# Immediately calls your callback for each existing cursor.
|
||||
#
|
||||
# * `callback` {Function}
|
||||
# * `selection` {Selection} that was added
|
||||
# * `cursor` {Cursor} that was added
|
||||
#
|
||||
# Returns a {Disposable} on which `.dispose()` can be called to unsubscribe.
|
||||
observeCursors: (callback) ->
|
||||
|
||||
Reference in New Issue
Block a user