Commit Graph

24 Commits

Author SHA1 Message Date
Ramon Jimenez
9b1adf8a29 spec descriptions corrected 2017-12-21 18:30:10 -07:00
Ramon Jimenez
08793a2af1 Added tests for one pane resizing 2017-12-21 16:26:34 -07:00
Josh Soref
1b93fcf35f spelling: recover 2017-09-10 15:46:40 +00:00
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
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
Jason Rudolph
bee12af4c1
Move directional pane movement specs up to WorkspaceElement
In preparation for providing directional pane navigation that goes
beyond the currently-active pane container, this commit:

- Moves the existing directional pane movement specs out of the
PaneContainerElement specs and into the WorkspaceElement specs
- Adjusts the specs to perform all set-up in terms of the workspace, as
opposed to manually constructing a PaneContainer.
2017-05-22 10:19:18 -04:00
Max Brunsfeld
2ed0724fc4 Remove unnecessary calls to ViewRegistry.getView 2017-04-05 16:50:04 -07:00
Max Brunsfeld
6344f9884d Add PaneAxis.getElement, remove PaneAxis view provider 2017-04-05 16:25:53 -07:00
Matthew Dapena-Tretter
3b23ab44bc Add getLocation() to PaneContainer class
This allows the location to be inspected without having to jump to the
DOM and searching for a dock element.
2017-03-27 17:45:21 -07:00
Matthew Dapena-Tretter
98e7fcc505 Prefer getElement() to view registry for Docks, PaneContainer & Pane 2017-03-20 22:39:23 -07:00
Aaron Contreras
ee86cee4e0 Add specs for new commands, update old specs 2016-02-09 00:36:37 +01:00
Nathan Sobo
4808c9f9e8 Eliminate config and confirm global references in Pane 2015-10-07 16:32:47 -05:00
Antonio Scandurra
721c5a1679 Don't use atom globals in PaneAxisElement 2015-10-07 15:25:01 -05:00
Nathan Sobo
fd7fbbfea5 Move PaneContainer.deserialize to an instance method
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-07 15:24:55 -05:00
Nathan Sobo
cb3ea39377 Move direction focus specs to pane-container-element-spec 2015-09-18 20:48:45 -06:00
Nathan Sobo
f0fe2d8463 Move spliting/unsplitting panes DOM specs to pane-container-element-spec 2015-09-18 20:48:44 -06:00
Nathan Sobo
fec21165d0 Move pane focus transfer test to pane-container-element-spec 2015-09-18 20:48:43 -06:00
Kevin Sawicki
5da44711dc Add initial spec for pane resize commands 2015-08-13 06:54:51 -07:00
Kevin Sawicki
fb48b38aa7 Guard against no resizing with no siblings
Closes #7091
2015-06-09 09:36:58 -07:00
Kevin Sawicki
523171061b Stop resize if detached or if siblings are missing
Closes #6630
2015-05-07 16:26:18 -07:00
Max Brunsfeld
e4984d68cc 🎨 Tidy up pane container resize element spec 2015-04-15 14:09:27 -07:00
Kevin Sawicki
1c67912ab6 👕 remove a ; 2015-04-15 14:04:10 -07:00
liuxiong332
1331cfad4b change the spec description to make it clear 2015-04-15 22:20:17 +08:00
liuxiong332
47c1062561 rename the spec file name to 'pane-container-element-spec' 2015-04-15 12:55:45 +08:00