Ben Ogle
21e4d8a064
Add DisplayBuffer::onDidChange
2014-09-05 13:30:59 -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
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
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
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
Kevin Sawicki
f6bb7fc089
Merge pull request #3458 from atom/ks-store-injection-grammars
...
Include injection grammars in active list
2014-09-05 09:14:41 -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
Ben Ogle
336afc32c2
Add PaneView::getModel()
2014-09-04 16:48:04 -07:00
Ben Ogle
a81393320c
Support a copyActiveItem param in Pane::split* methods
2014-09-04 16:41:20 -07:00
Kevin Sawicki
7c8451e178
Use getter on GrammarRegistry
2014-09-04 16:09:46 -07:00
Kevin Sawicki
90592a70be
Include injection grammars in active list
...
Prevents an immediate flicker when restarting Atom with editors
open that have injection matches.
2014-09-04 16:04:32 -07:00
Ben Ogle
914e4e6342
Deprecate EditorView::split* methods
2014-09-04 16:00:34 -07:00
Ben Ogle
70df5a5c0a
Remove unnecessary fixme
2014-09-04 15:30:06 -07:00
Ben Ogle
dba1e22ded
Deprecate EditorView::setSoftWrap
2014-09-04 15:29:54 -07:00
Ben Ogle
dc21e8707f
Deprecate EditorView::getFirstVisibleScreenRow
2014-09-04 15:25:55 -07:00
Ben Ogle
52c19a5dcd
Deprecate pixelPositionFor*Position
2014-09-04 15:20:20 -07:00
Ben Ogle
5ae040f688
Add Editor::scrollToTop to compliment scrollToBottom()
2014-09-04 15:17:17 -07:00
Ben Ogle
c511a71488
Deprecate EditorView::scrollToBottom
2014-09-04 15:17:01 -07:00
Ben Ogle
04b0ed9704
Deprecate EditorView::scrollTo*Position() functions
2014-09-04 15:14:38 -07:00
Ben Ogle
2c9241506b
Fix doc strings
2014-09-04 14:53:33 -07:00
Nathan Sobo
a50f62dc93
Merge remote-tracking branch 'origin/master' into ns-text-buffer-event-methods
...
Conflicts:
package.json
2014-09-04 14:40:52 -06:00
Kevin Sawicki
eb9d4ba816
📝 Use ### for example sections
2014-09-04 13:40:04 -07:00
Nathan Sobo
a947a357f4
Upgrade text-buffer for event subscription methods
2014-09-04 12:44:53 -06:00
Ivan Zuzak
af2f155082
Merge branch 'master' into iz-gutter-click-select-line
2014-09-04 16:22:51 +02:00
Nathan Sobo
b9e90f2fdd
Fix editor observation docs
2014-09-04 08:06:19 -06:00
Nathan Sobo
aac64e3a9b
Document Workspace::onDidOpen
2014-09-04 07:01:32 -06:00