Garen Torikian
2357f46761
Fix block comments in src
2013-05-01 16:58:43 -07:00
Garen Torikian
e478d9b7a0
Add more corrections off of the #Internal syntax
2013-04-18 13:38:26 -07:00
Garen Torikian
0c5e38680d
Internalize a bunch of methods
2013-04-12 14:37:21 -05:00
Garen Torikian
7e5b6bf5c4
Massive updates
2013-04-11 21:11:12 -05:00
Kevin Sawicki
d1c9d0ea68
Focus pane after reopening it
...
Previously the reopened item would not have focus if it was
reopened into a newly appended pane.
2013-04-08 16:54:05 -07:00
Mutwin Kraus
a9c74762cc
Add focusPreviousPane to pane container
2013-04-02 15:24:12 -07:00
Corey Johnson
d916962a80
Defer window close events until all modified pane items are handled
...
If the user presses cancel, the close event is canceled
2013-03-12 15:55:30 -07:00
Corey Johnson & Nathan Sobo
06c9a3ac86
Remove empty panes when PaneContainer deserializes
2013-03-08 11:45:20 -08:00
Corey Johnson & Nathan Sobo
c1d19c4c5c
Rename restoreItem to reopenItem on pane container
2013-03-07 09:30:29 -08:00
Corey Johnson & Nathan Sobo
5ad53bb32c
Add restoreItem to Pane container
2013-03-07 09:30:29 -08:00
Nathan Sobo
7ebce683c6
Move saveAll and specs to PaneContainer
...
And simplify the specs… we don't *really* need to save. We can just
ensure that save is called on everything.
2013-03-07 09:30:29 -08:00
Nathan Sobo
2bfc73afaa
These should have been renamed w/ currentView/Item -> activeView/Item
2013-03-07 09:30:25 -08:00
Nathan Sobo
61fa393e03
Add indexOfPane and paneAtIndex to PaneContainer
2013-03-07 09:30:24 -08:00
Nathan Sobo
892ff0c51f
Add PaneContainer.eachPane
...
It calls the given callback with all current and future panes
2013-03-07 09:30:23 -08:00
Kevin Sawicki & Nathan Sobo
161ed69ef0
When a pane is removed, focus/activate the next pane
2013-03-07 09:30:22 -08:00
Kevin Sawicki & Nathan Sobo
80e736d4ee
Add RootView.getActiveView and .getActivePaneItem
...
They will replace getActiveEditor/getActiveEditSession
2013-03-07 09:30:22 -08:00
Kevin Sawicki & Nathan Sobo
4a6f05ae4e
Trigger 'pane:active-item-changed' on Pane
...
This event is triggered when the item changes on the active pane, or
when a different pane becomes active.
Also: Pane now sets itself as the active pane, rather than letting
PaneContainer handle the focusin event.
2013-03-07 09:30:22 -08:00
Nathan Sobo
486baa393b
PaneContainer.getActivePane returns the most recently focused pane
2013-03-07 09:28:52 -08:00
Nathan Sobo
fee835f899
Add a PaneContainer subview for RootView
...
PaneContainer is responsible for all pane-related logic. Laying them
out, switching focus between them, etc. This should help make RootView
simpler and keep pane-layout related tests in their own focused area.
2013-03-07 09:28:52 -08:00
Nathan Sobo
6c572e1a33
Delete unused PanesContainer
2012-04-12 14:59:46 -06:00
Nathan Sobo
ceaad1798b
Remove @editors array from RootView
2012-04-11 17:18:06 -06:00