📝 fix ::observeCursors doc

Change selection -> cursor
This commit is contained in:
Tony Han
2015-01-14 01:53:25 +08:00
parent 296409d9d0
commit 4ebf748fd7

View File

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