Kevin Sawicki
417134c799
Require dialog when used
2014-09-08 09:22:45 -07:00
Kevin Sawicki
b2638c8bad
💄
2014-09-08 09:22:45 -07:00
Kevin Sawicki
27bf096fbc
Remove require that is now inlined where used
2014-09-08 09:22:44 -07:00
Kevin Sawicki
4fa6f631a9
Defer ContextMenu require until requested
2014-09-08 09:22:44 -07:00
Kevin Sawicki
6e7968861d
Use fs instead of fs-plus
...
Since only an is file check is performed fs is sufficient
2014-09-08 09:22:44 -07:00
Kevin Sawicki
fc59d9c503
Require https on a next tick
...
This require is heavy in node for some reason so only
require it on Windows since it is only used there and only
after a next tick so that it doesn't affect startup
2014-09-08 09:22:44 -07:00
Kevin Sawicki
163b52efb0
CoffeeScript.compile returns a string
2014-09-08 09:22:44 -07:00
Kevin Sawicki
d4ed8a0b73
Defer requiring CoffeeScript
...
Requiring it up front adds about 30-40ms to startup.
2014-09-08 09:22:44 -07:00
Kevin Sawicki
b5dfaff426
Remove unused requires from main.coffee
2014-09-08 09:22: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
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