Ben Ogle
a4a25576a2
Split cursor methods into essential and extended
2014-08-28 14:35:39 -07:00
Nathan Sobo
e88eb3012e
Document Pane event subscription methods
2014-08-28 15:32:02 -06:00
Nathan Sobo
d7063c0932
Add Pane::onDidDestroy
2014-08-28 15:21:35 -06:00
Nathan Sobo
34cb5d6012
Don’t implement ::isActive in terms of the theorist model behavior
2014-08-28 15:21:10 -06:00
Nathan Sobo
95e9686b37
Emit legacy item-added DOM event correctly
2014-08-28 14:42:13 -06:00
Nathan Sobo
b1916069de
Delegate ::getActivePane[Item] directly to PaneContainer
2014-08-28 14:42:13 -06:00
Nathan Sobo
9223361c22
Add PaneContainer::onDidChange/observeRoot
...
Also, don’t use a behavior to monitor root changes
2014-08-28 14:42:13 -06:00
Nathan Sobo
7556b85806
Remove/add the *subscription*, not the child
2014-08-28 14:42:12 -06:00
Nathan Sobo
b74554ad4c
Actually subscribe
2014-08-28 14:42:12 -06:00
Nathan Sobo
b34367ad44
💄 pane-container-spec
2014-08-28 14:42:12 -06:00
Nathan Sobo
cf3e1177ab
Upgrade event-kit to fix stupid bug
2014-08-28 14:42:12 -06:00
Nathan Sobo
74b2f26540
Add PaneContainer::onDidChangeActivePaneItem
2014-08-28 14:41:56 -06:00
Nathan Sobo
b89202f82c
Dispose of PaneAxis subscriptions when destroyed
2014-08-28 14:41:56 -06:00
Nathan Sobo
9487609f0c
💄 pane-container-spec
2014-08-28 14:41:56 -06:00
Nathan Sobo
da63c6bab2
Add ::onDidDestroy to Pane and PaneAxis
2014-08-28 14:41:56 -06:00
Ivan Žužak
a00b3b2cc9
Merge pull request #3394 from atom/iz-builtin-context-menu-commands
...
Add cut/copy/paste built-in context menu items
2014-08-28 20:41:21 +02:00
Ben Ogle
0888d8ac60
Upgrade atom-dark-ui
2014-08-28 11:27:45 -07:00
Ben Ogle
b895f7074d
Upgrade find and replace to remove deprecation
2014-08-28 11:19:40 -07:00
Ivan Zuzak
7b73d6749d
Add undo, redo, delete and select all commands to context menu
2014-08-28 20:13:16 +02:00
Nathan Sobo
67c3a41a60
Upgrade event-kit to fix bug and get CompositeDisposable::remove
2014-08-28 11:43:33 -06:00
Nathan Sobo
c25ab0db43
Rename ::disposables to ::subscriptions in PaneView
...
Now that emissary’s Subscriber no longer conflicts with the name
2014-08-28 11:43:09 -06:00
Nathan Sobo
9979ae4b09
Add child event methods to PaneAxis
...
This eliminates our reliance on the Sequence object for informing us
of changes
2014-08-28 11:43:09 -06:00
Nathan Sobo
a9294aebc3
Don’t use Sequence in PaneAxis
2014-08-28 11:43:09 -06:00
Nathan Sobo
f161f5352e
Don’t rely on Sequences to reparent the last child
2014-08-28 11:43:09 -06:00
Nathan Sobo
4f826a70f8
Use Array instead of Sequence for Pane::items
2014-08-28 11:43:08 -06:00
Nathan Sobo
1d365db9df
Use getActiveItem getter in pane-view-spec
2014-08-28 11:43:08 -06:00
Nathan Sobo
b9feed8eb4
Handle objects in subscriptions instead of multiple args
2014-08-28 11:43:08 -06:00
Nathan Sobo
475dc6074c
💄
2014-08-28 11:43:08 -06:00
Nathan Sobo
40d93cd0cf
Use Pane::setActiveItem internally so observers are invoked
2014-08-28 11:43:08 -06:00
Nathan Sobo
99d70b4a4e
Don’t emit ::onDidChangeActiveItem events unless it really changes
2014-08-28 11:43:08 -06:00
Nathan Sobo
87cdc1a45d
Don’t invoke ::onDidChangeActivePane events unless it really changes
2014-08-28 11:43:08 -06:00
Nathan Sobo
e7a7e86dea
Add Pane::observeActive and ::observeActiveItem
...
These have behavior semantics, invoking the observer immediately with
the current value of the observed property.
2014-08-28 11:43:07 -06:00
Nathan Sobo
b6c669a292
Subscribe with new event methods in PaneView
2014-08-28 11:43:07 -06:00
Nathan Sobo
44d70aaa5b
Add Pane::onDidChangeActive()
2014-08-28 11:43:07 -06:00
Nathan Sobo
2b63f8a4ee
Add PaneContainer::onDidChangeActivePane
2014-08-28 11:43:07 -06:00
Nathan Sobo
8225f759bf
Add Pane::onWillDestroyItem()
2014-08-28 11:43:07 -06:00
Nathan Sobo
2d58d9c8b5
Add Pane::onDidActivate
2014-08-28 11:43:07 -06:00
Nathan Sobo
548018e9b2
Add spec for onDidRemoveItem observers when moving items to other panes
2014-08-28 11:43:07 -06:00
Nathan Sobo
9bd2eec4bc
Add Pane::onDidMoveItem()
2014-08-28 11:43:07 -06:00
Nathan Sobo
b8fcbe9451
Start adding event subscription methods to pane
...
This branch uses EventKit, an ultra-simple library for implementing
events. The object implementing the methods maintains its own emitter
object rather than doing a mixin like Emissary encourages. This will
make it easier for us to deprecate ::on on the object itself. Unlike
emissary, the EventKit Emitter implements a super minimalistic API that
only allows one value to be emitted and always returns a Disposable
from subscriptions.
2014-08-28 11:43:06 -06:00
Ivan Zuzak
861dff107a
💄 simplify assignment using coffeescript magic
2014-08-28 19:42:59 +02:00
Nathan Sobo
ebb02bcd37
Use public getters instead of properties in pane-spec
2014-08-28 11:42:42 -06:00
syndg
fcb72049e1
Added linux open-folder keybind.
...
Moved application:open-dev to `ctrl-alt-o`
2014-08-28 14:05:42 +03:00
Michael Herring
039e61e960
updated regex in usesSoftTabs to only look for Tab and Space
2014-08-28 17:44:49 +09:00
Michael Herring
002f9ca2b1
merge latest upstream master
2014-08-28 17:35:09 +09:00
Ben Ogle
726b04ef80
Update find-and-replace
2014-08-27 19:21:49 -07:00
Kevin Sawicki
20b64dd744
Upgrade to tabs@0.50
2014-08-27 15:26:31 -07:00
Kevin Sawicki
a3d2924484
Split on whitespace
2014-08-27 14:43:23 -07:00
Kevin Sawicki
d225966374
installSize -> installedSize
2014-08-27 14:35:16 -07:00
Kevin Sawicki
6d23fa1620
🐧 Set installedSize value in control file
...
Closes #2183
2014-08-27 14:23:09 -07:00