Commit Graph

15 Commits

Author SHA1 Message Date
Max Brunsfeld
2420d12e44 Merge pull request #14435 from atom/mb-use-native-text-buffer
Use new native text-buffer implementation
2017-06-08 16:50:53 -07:00
Jason Rudolph
f62cb5d427 🐛 Don't attempt to copy items that aren't copyable 2017-06-08 15:42:39 -04:00
Jason Rudolph
de47d3d439 🎨 Extract function: Pane::isItemAllowed(item) 2017-06-07 15:45:02 -04:00
Jason Rudolph
296e407284 Check an item's allowed locations when moving/copying to pane 2017-06-07 12:59:54 -04:00
Max Brunsfeld
dc320181fc Fix handling of .save and .saveAs rejections
* Make Pane.close, Pane.saveActiveItem, and Pane.saveActiveItemAs async.
* Refactor the logic for prompting to save on window unload
2017-05-31 17:46:04 -07:00
Nathan Sobo
2498b991c6 Fix dock dragging 2017-04-08 14:29:27 -06:00
Nathan Sobo
9c28cc0fa8 Construct WorkspaceCenter's PaneContainer instance in the constructor 2017-04-06 16:57:41 -06:00
Nathan Sobo
1711d10af2 Aggregate onDidStopChangingActivePaneItem events across all containers 2017-04-06 16:35:25 -06:00
Nathan Sobo
646047f563 Maintain an active pane container on the workspace
This will be used by many commands that previously only interacted with
the center of the workspace.
2017-04-06 15:30:01 -06:00
Nathan Sobo
f1e30fe7cf 🎨 2017-04-06 13:53:34 -06:00
Nathan Sobo
ec576b12bc Remove PaneContainer.monitorActivePaneItem
Call didChangeActiveItemOnPane directly from panes and when the active
pane changes instead.
2017-04-06 13:18:18 -06:00
Nathan Sobo
2f7fb3f565 Remove PaneContainer.monitorPaneItems 2017-04-06 13:01:17 -06:00
Nathan Sobo
326ae6bf32 Use didDestroyPaneItem to remove item from item registry 2017-04-06 12:56:45 -06:00
Nathan Sobo
317428b58d Inform pane containers directly when adding non-moved pane items 2017-04-06 12:52:42 -06:00
Nathan Sobo
0a877a219f Convert PaneContainer to JS 2017-04-06 11:52:16 -06:00