Nathan Sobo
fb6a184b0e
Include commands registered via jQuery in CommandRegistry::findCommands
2014-09-11 14:18:57 -06:00
Nathan Sobo
8b7b946429
Set root node to workspace view when it’s constructed
...
Makes it easier to deal with specs
2014-09-11 14:18:57 -06:00
Nathan Sobo
e4264035d8
fixup! Clear atom.commands after each spec
2014-09-11 14:18:00 -06:00
Nathan Sobo
3e0e19d51b
Add CommandRegistry::findCommands
2014-09-11 13:48:35 -06:00
Nathan Sobo
ab8ac369df
Move a few workspace commands to the command registry
2014-09-11 13:48:35 -06:00
Nathan Sobo
a348ecf034
Allow CommandRegistry::rootNode to be reassigned
2014-09-11 13:48:35 -06:00
Nathan Sobo
dac127c30b
Assign atom.commands to a CommandRegistry instance
2014-09-11 13:48:35 -06:00
Nathan Sobo
7580d64d2e
Allow CommandRegistry::rootNode to be assigned after construction
2014-09-11 13:48:35 -06:00
Nathan Sobo
43d3082d4e
Allow multiple commands to be registered by passing an object
2014-09-11 13:48:35 -06:00
Nathan Sobo
aee33fc126
Pass selector first to CommandRegistry::add
2014-09-11 13:48:35 -06:00
Nathan Sobo
4de0865d28
Allow listeners to be removed via a Disposable returned from ::add
2014-09-11 13:48:34 -06:00
Nathan Sobo
fe27ebec1b
Handle .stopImmediatePropagation() being called on command events
2014-09-11 13:48:34 -06:00
Nathan Sobo
fbaf956e1f
Handle .stopPropagation() being called on command events
2014-09-11 13:48:34 -06:00
Nathan Sobo
5eb22520f1
Order multiple matching listeners by selector specificity
2014-09-11 13:48:34 -06:00
Nathan Sobo
a075aa2b07
Perform synthetic bubbling through event target ancestors
2014-09-11 13:48:34 -06:00
Nathan Sobo
decc983420
Start on CommandRegistry
2014-09-11 13:48:34 -06:00
Nathan Sobo
36aa3834d3
Only call ::checkForVisibilityChange on editor attachment, not ::pollDOM
...
I’m pretty sure ::pollDOM is subsumed by ::checkForVisibilityChange
because there’s no reason the editor would be considered visible prior
to being attached.
2014-09-11 10:38:36 -06:00
Ash Wilson
40570c0b99
Force visibility-change checking in EditorView.
...
When an `EditorView` becomes attached, if hardware acceleration is enabled,
the call to `pollDOM` is a no-op because there's already a refresh pending.
This can cause problems, because then the initial measurements don't happen
and (for example) the lineHeight is left as null - it'll be set on the next
rendering, but not before subscribers to `workspaceView.eachEditorView` are
notified.
2014-09-11 11:14:41 -04:00
Ben Ogle
f8b17b6b3c
Add Returns line to all the event subscription methods
2014-09-10 17:07:21 -07:00
Nathan Sobo
d55f5cba78
Upgrade first-mate for event subscription methods
2014-09-10 17:24:55 -06:00
Ben Ogle
60a3cebfab
Fix section name in git class
2014-09-10 12:13:04 -07:00
Ben Ogle
8f8165e289
Fix doc strings in Atom class
2014-09-10 12:12:36 -07:00
Ben Ogle
d3b3fdefc9
Merge pull request #3507 from atom/bo-rename-events
...
Rename the rest of the internal events to the onDid* pattern
2014-09-10 12:11:26 -07:00
Ben Ogle
49937b2956
Revert "Add Project::onDidChangePath()"
...
This reverts commit ed4acb02d8 .
Conflicts:
src/project.coffee
2014-09-10 11:56:38 -07:00
Ben Ogle
40b32930cf
Revert "Add Project::onDidCreateBuffer"
...
This reverts commit 4070e5fb25 .
2014-09-10 11:55:41 -07:00
Ben Ogle
61fa1c4230
Revert "Add Project::observeBuffers"
...
This reverts commit b6fe72ef9e .
Conflicts:
src/project.coffee
2014-09-10 11:55:26 -07:00
Ben Ogle
6a0a842de4
Update section comments
2014-09-10 11:52:57 -07:00
Kevin Sawicki
61166bf365
Don't track focus for spec windows
2014-09-10 11:14:08 -07:00
Ben Ogle
2e219f288d
Add sections for docs clarity
2014-09-09 15:55:47 -07:00
Ben Ogle
09fbd46869
Remove event docs
2014-09-09 15:43:35 -07:00
Ben Ogle
10ceb34426
Fix docs
2014-09-09 15:43:12 -07:00
Ben Ogle
5ba5215f5d
Add event subscription methods to ThemeManager
2014-09-09 15:35:00 -07:00
Ben Ogle
3bf348e51f
Add ThemeManager::onDidReloadAll
2014-09-09 15:24:55 -07:00
Ben Ogle
0afd8a1392
Add Package::onDidDeactivate
2014-09-09 15:09:18 -07:00
Ben Ogle
55b5debd7f
Add PackageManager::onDidLoadAll
2014-09-09 15:04:13 -07:00
Ben Ogle
229277f764
Add PackageManager::onDidActivateAll()
2014-09-09 15:03:45 -07:00
Ben Ogle
af1b0b5736
Fix Doc String
2014-09-09 14:45:41 -07:00
Ben Ogle
ae4f92cc52
Add onDidChangeStatuses
2014-09-09 14:45:31 -07:00
Ben Ogle
dddd17c11b
Fix observeBuffers
2014-09-09 14:29:14 -07:00
Ben Ogle
05f54d427d
Add Git::onDidChangeStatus
2014-09-09 14:28:30 -07:00
Ben Ogle
ffbb18a0f8
Remove event comments, add method section comment
2014-09-09 14:16:10 -07:00
Ben Ogle
b6fe72ef9e
Add Project::observeBuffers
2014-09-09 14:13:26 -07:00
Ben Ogle
4070e5fb25
Add Project::onDidCreateBuffer
2014-09-09 14:12:49 -07:00
Ben Ogle
ed4acb02d8
Add Project::onDidChangePath()
2014-09-09 13:58:23 -07:00
Ben Ogle
ab96e5b5fd
💄 Fix doc string
2014-09-09 13:58:01 -07:00
Ben Ogle
f357f694b3
Merge pull request #3456 from atom/ns-editor-event-methods
...
Add event subscription methods for Editor and associated classes
2014-09-09 13:40:45 -07:00
Ben Ogle
2a02375c4d
Move the Decoration events to an events section
2014-09-09 12:31:01 -07:00
Ben Ogle
e452b88fec
Add sections for events
2014-09-09 12:30:43 -07:00
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