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
Ivan Žužak
733e06fa8c
Use shift in the example rather than explaining the difference
2014-09-05 22:24:42 +02: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
Ivan Zuzak
b1fdb48e9e
Link to relevant docs in keymap.cson file
2014-09-05 21:40:54 +02: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
Ivan Zuzak
6d498aad3b
Explain capital letters in keystrokes
2014-09-05 21:40:11 +02: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
Nathan Sobo
5a02303b58
Add Editor::onDidStopChanging which delegates to TextBuffer
2014-09-05 11:39:33 -07:00
Nathan Sobo
1c95a55740
Add ::onDidChangeGrammar to Editor, DisplayBuffer, and TokenizedBuffer
2014-09-05 11:39:33 -07:00
Nathan Sobo
3e260eea56
Add Editor::onDidChangeSoftWrapped
2014-09-05 11:39:33 -07:00
Nathan Sobo
965afc2c37
Rename softWrap to softWrapped
...
Our new pattern for booleans is to have ::set and ::is, and that means
the property name needs to be in passive voice for ::is to make sense.
This is in preparation for adding a new change observation method.
* ::setSoftWrapped
* ::isSoftWrapped
* ::toggleSoftWrapped
2014-09-05 11:39:33 -07:00
Nathan Sobo
d15d1572ef
Add Editor::onDidChangeModified
2014-09-05 11:36:40 -07:00
Nathan Sobo
133f3f45ab
Add Editor::onDidChangePath
2014-09-05 11:36:40 -07:00
Nathan Sobo
b731f7cbdc
Add Editor::onDidChangeTitle
2014-09-05 11:36:40 -07:00
Ben Ogle
8f6053c53f
Upgrade bracket matcher to use new apis
...
It was really noisy with deprecations
2014-09-05 11:31:40 -07:00
Kevin Sawicki
0c749537a1
Prepare 0.126
2014-09-05 09:39:06 -07:00
Kevin Sawicki
f6bb7fc089
Merge pull request #3458 from atom/ks-store-injection-grammars
...
Include injection grammars in active list
v0.125.0
2014-09-05 09:14:41 -07:00
Ben Ogle
805c621ac6
Merge pull request #3459 from atom/bo-remove-editor-view-split-methods
...
Deprecate EditorView::split* methods
2014-09-04 17:44:22 -07:00
Ben Ogle
7fe567521e
Use the model methods in the commands
2014-09-04 17:09:52 -07:00
Ben Ogle
e48748122f
Suggest better alternative in deprecation warnings
2014-09-04 16:49:33 -07:00
Ben Ogle
1291cf19fb
Rename EditorView::getPane -> ::getPaneView()
2014-09-04 16:49:02 -07:00