Ben Ogle
0f83fe54f9
Add and use Editor::observeSelections() and ::observeCursors()
2014-09-09 12:08:43 -07:00
Ben Ogle
3e5666f183
use getPaneView rather than getPane
2014-09-09 12:08:12 -07:00
Ben Ogle
72be16736c
isDestroyed -> destroyed
2014-09-09 10:58:12 -07:00
Ben Ogle
789d9c8eff
📝 Selection event methods
2014-09-09 10:56:44 -07:00
Ben Ogle
858ac5bf79
onDidChangeSelectionScreenRange -> onDidChangeSelectionRange
...
for consistency
2014-09-09 10:54:57 -07:00
Ben Ogle
9db804b413
Doc events in Cursor
2014-09-09 10:51:46 -07:00
Ben Ogle
c7525e8cff
💄 doc strings
2014-09-09 10:51:35 -07:00
Ben Ogle
7198a919bf
onDidMoveCursor -> onDidChangeCursorPosition
2014-09-09 10:43:25 -07:00
Ben Ogle
aebdfb4cf6
Event docs
2014-09-09 10:39:41 -07:00
Ben Ogle
5883e27c60
Make Editor::onDidChangeGrammar emit from Editor
...
Seems like the initial implementation was to handle the event, unfold
all then, re-emit the grammar-changed event.
2014-09-08 16:32:43 -07:00
Ben Ogle
1d073173d4
Add Editor::onDidChangeSelectedScreenRange
2014-09-08 16:25:35 -07:00
Ben Ogle
601b311496
Add Editor::onDidMoveCursor
2014-09-08 16:20:54 -07:00
Ben Ogle
d4835e1d8e
Add Editor:onScrollTopChanged and Editor:onScrollLeftChanged
2014-09-08 16:17:06 -07:00
Ben Ogle
6f9f087e11
💄 consistency
2014-09-08 16:05:31 -07:00
Ben Ogle
b6a9e1b576
Fix deprecation warning
2014-09-08 16:05:21 -07:00
Ben Ogle
efea16848a
Add deprecation warnings for all the other converted events
2014-09-08 16:05:07 -07:00
Ben Ogle
8aa1784c4a
Add Editor::onDidChangeScreenLines
2014-09-08 16:04:43 -07:00
Ben Ogle
250c21f00a
Deprecate all events from ::on
2014-09-05 17:26:41 -07:00
Ben Ogle
e6dbea09fe
Add onDidCreateMarker and onDidUpdateMarkers
2014-09-05 17:26:14 -07:00
Ben Ogle
47ef54a072
Subscribe directly to the decoration destroy for removal
2014-09-05 16:53:35 -07:00
Ben Ogle
86e9778adb
Remove the decoration changed event
2014-09-05 16:51:26 -07:00
Ben Ogle
aeffef30c6
Directly subscribe to the decorations in EditorComponent
2014-09-05 16:49:30 -07:00
Ben Ogle
7ae25d34e7
Decoration Params -> Properties
2014-09-05 16:20:42 -07:00
Ben Ogle
e6e6028683
Deprecate decoration events
2014-09-05 15:14:27 -07:00
Ben Ogle
f3e8f11d07
Use DisplayBuffer::onDidChangeSoftWrapped in Editor
2014-09-05 13:42:11 -07:00
Ben Ogle
6e8a626de2
Add ::onDidChangeSoftWrapped to DisplayBuffer and Editor
2014-09-05 13:41:46 -07:00
Ben Ogle
21e4d8a064
Add DisplayBuffer::onDidChange
2014-09-05 13:30:59 -07:00
Ben Ogle
db84b7952c
fix another linter error
2014-09-05 12:44:56 -07:00
Ben Ogle
557562d8c8
Fix linter error
2014-09-05 12:42:33 -07:00
Ben Ogle
0a920b18d7
Update TokenizedBUffer::on deprecations
2014-09-05 12:40:33 -07:00
Ben Ogle
289b22c782
Use event methods in TokenizedBuffer spec
2014-09-05 12:40:14 -07:00
Ben Ogle
53fbfb8b27
Merge decoration-changed and decoration-updated
...
Only emit the decorations from the events
2014-09-05 12:35:52 -07:00
Ben Ogle
a2adbff3e9
Add TokenizedBuffer::onDidTokenize
2014-09-05 12:33:28 -07:00
Ben Ogle
48a68d87f5
Add TextBuffer::onDidChange
2014-09-05 12:26:54 -07:00
Ben Ogle
bcc6adff4f
No longer need this as the event method passes it through
2014-09-05 12:26:06 -07:00
Ben Ogle
9435f852dd
Use new decoration updated event method
2014-09-05 12:25:14 -07:00
Ben Ogle
569c403d56
Update the events on decorations
2014-09-05 12:08:35 -07:00
Nathan Sobo
6ad9531e5c
Add Selection::onDidChangeRange and ::onDidDestroy and deprecate ::on
2014-09-05 11:39:34 -07:00
Nathan Sobo
56687027b6
Add Cursor::onDidChangePosition and ::onDidDestroy and deprecate ::on
2014-09-05 11:39:34 -07:00
Nathan Sobo
6bd8702421
Deprecate DisplayBufferMarker::on
2014-09-05 11:39:34 -07:00
Nathan Sobo
c69b5fc0a0
Remove specs for ::onDidMoveCursor, which was removed
2014-09-05 11:39:33 -07:00
Nathan Sobo
1131b33a83
Add DisplayBufferMarker::onDidChange and ::onDidDestroy
2014-09-05 11:39:33 -07:00
Nathan Sobo
651eb78315
Add Editor::onDidAdd/RemoveSelection
...
Also update EditorComponent to use the new ::onDidAddSelection method.
2014-09-05 11:39:33 -07:00
Nathan Sobo
3e77b9b7c0
Eliminate Editor::onDidMoveCursor
...
If you want to know if a cursor moved, subscribe to the cursor.
2014-09-05 11:39:33 -07:00
Nathan Sobo
e77b4a54dd
Add Editor::onDidRemoveCursor
2014-09-05 11:39:33 -07:00
Nathan Sobo
3b6e40fbd8
Add Editor::onDidAddCursor
2014-09-05 11:39:33 -07:00
Nathan Sobo
161edfd15a
Remove ‘cursors-moved’ event
...
It event was not document only being used in EditorComponent. Due to
our batching strategy, it’s fine to respond to individual
::onDidMoveCursor events.
2014-09-05 11:39:33 -07:00
Nathan Sobo
2a81687d38
Add Editor::onDidMoveCursor
2014-09-05 11:39:33 -07:00
Nathan Sobo
05ea381c0a
Add Editor::onWill/DidInsertText
2014-09-05 11:39:33 -07:00
Nathan Sobo
63c9da02f6
Add Editor::onDidConflict
2014-09-05 11:39:33 -07:00