George Ogata
8a5dfeae05
Add Pane::onWillRemoveItem event.
2015-06-24 00:16:45 -04:00
Jesse Grosjean
1dbfd0b5ac
Rename to getSaveDialogOptions and document in TextEditor
2015-06-08 16:20:53 -04:00
Jesse Grosjean
f88e21cbb0
Allow items to provide savePanel options.
2015-06-06 22:21:51 -04:00
liuxiong332
e46d3b0d27
Merge remote-tracking branch 'origin' into pane-resize
...
Conflicts:
src/pane-element.coffee
src/pane.coffee
2015-04-15 10:09:41 +08:00
Kevin Sawicki
55b6499b7d
Add notification for ENXIO save error
...
Closes #5576
2015-04-14 15:25:36 -07:00
Kevin Sawicki
c4062d8fea
Remove destroyed event deprecation
2015-04-06 13:57:52 -07:00
Kevin Sawicki
b45aa8c51f
includeDeprecations -> includeDeprecatedAPIs
2015-04-06 13:44:17 -07:00
Kevin Sawicki
fcefe55e0d
Add deprecated check for item.getUri
2015-04-06 11:08:01 -07:00
Kevin Sawicki
383523677e
Use new Model superclass in Pane
2015-04-06 11:07:20 -07:00
Kevin Sawicki
96b95b74e9
Conditionally include Pane model properties and behaviors
2015-04-06 11:04:10 -07:00
Kevin Sawicki
39a1d6b788
Wrap getUri in deprecated API check
2015-04-06 10:59:06 -07:00
Kevin Sawicki
f5aab35476
Check Grim.includeDeprecatedAPIs before emitting
2015-04-03 11:29:17 -07:00
Kevin Sawicki
7d592c8b78
includeDeprecations -> includeDeprecatedAPIs
2015-04-03 11:29:16 -07:00
Kevin Sawicki
23d1c72a5f
Remove unused imports
2015-04-03 11:29:14 -07:00
Kevin Sawicki
c24948ebcc
Conditionally include deprecations in Pane
2015-04-03 11:29:14 -07:00
Kevin Sawicki
45afc9eb46
Handle EISDIR save errors
...
Closes #6100
2015-03-26 13:29:30 -07:00
Kevin Sawicki
590a4b0fd5
Add explicit return after for loop
2015-03-19 11:48:40 -07:00
liuxiong332
86ef14b600
when split panes and replace the pane with new pane axis, switch the flex scale
2015-03-17 15:48:32 +08:00
liuxiong332
c05a410d11
add serialization for pane's flex scale when resize the pane
2015-03-17 15:35:16 +08:00
Kevin Sawicki
05bcebe583
Add unsubscribe from item helper
2015-03-16 16:44:53 -07:00
Kevin Sawicki
0a16371845
Dispose of destroyed listener on remove item
2015-03-16 16:44:53 -07:00
Kevin Sawicki
4d344c16b3
Don't call on when onDidDestroy exists
2015-03-16 16:44:53 -07:00
Kevin Sawicki
03a59c570e
Subscribe to onDidDestroy when available
2015-03-16 16:44:52 -07:00
Kevin Sawicki
3952831ff1
Add custom notification for ENOSPC save errors
...
Closes #5825
2015-03-03 13:53:18 -08:00
Ben Ogle
dcbff35ef5
Handle EEXIST error with a better message
...
Closes #5518
2015-02-12 09:55:51 -08:00
Kevin Sawicki
f7502d8508
Handle UNKNOWN save errors
2015-02-05 15:17:23 -08:00
Kevin Sawicki
c9f13afb72
Remove stray logging
2015-02-05 15:12:20 -08:00
Kevin Sawicki
e51c8f3407
Add specs for save/saveAs error handling
2015-02-05 15:07:42 -08:00
Kevin Sawicki
68e5839b14
Add missing error var
2015-02-05 14:44:16 -08:00
Kevin Sawicki
3850550345
Handle save errors in Pane
2015-02-05 14:42:21 -08:00
Kevin Sawicki
fd1d872840
Prompt split editors to save on close
...
Previously an editor that was split into multiple panes would not
prompt to save correctly when the window was unloading.
This adds a new `windowCloseRequested` option passed through from the
beforeunload handler to the editor so that it can specially handle this
case.
Closes #5257
2015-02-04 17:14:46 -08:00
Nathan Sobo
e60a9e45f7
Display package name correctly for ::getUri deprecation warnings
...
We capture the package name during the call to ::addOpener and use it
if any open items have the deprecated ::getUri method.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2015-01-14 14:23:17 -07:00
Nathan Sobo
0a66e9d21e
Centralize deprecation warnings about getUri in Pane::addItem
2015-01-14 11:36:28 -07:00
Nathan Sobo
56da4f49d4
Avoid spurious deprecation warnings when editor URIs are undefined
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2015-01-14 11:21:08 -07:00
Nathan Sobo
7f8ab72f53
Capitalize initialisms
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2015-01-12 22:00:24 -08:00
Ben Ogle
5a456c8552
📝 Add arg to pane::destroyItem()
2014-12-03 16:11:29 -08:00
Nathan Sobo
8a40be8345
Null guard container in Pane::destroyed
2014-12-02 11:57:38 -07:00
Nathan Sobo
fbc9c05096
Add Workspace::onDidDestroyPane
...
This helps with the background-tips conversion
2014-12-02 11:57:38 -07:00
Nathan Sobo
4591f00a65
Remove view registry references from the workspace model layer
...
Removed various ::getView methods from the model. Using the atom.views
global in the views for now, but going to switch them over to using a
locally assigned view registry instead in a subsequent commit.
2014-12-01 16:28:33 -08:00
Nathan Sobo
7dc9d0c8ce
Add Workspace::onWillDestroyPaneItem
...
It is needed by the autosave package which previously relied on DOM
bubbling to coalesce events from various panes.
2014-12-01 10:39:29 -07:00
Ben Ogle
6159209d49
moveItemTo* -> moveItem*
2014-11-10 13:28:15 -08:00
Ardeshir Javaherchi
ff80545285
🐧 Add keymap implementation to reorder tabs in linux
2014-11-10 11:25:16 -08:00
Nathan Sobo
efd3329c50
Prompt to save modified items when closing a pane via pane:close
...
Fixes #4094
2014-11-10 07:55:37 -07:00
Nathan Sobo
33fde29acb
Disallow activation of destroyed panes
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-07 15:45:21 -07:00
Nathan Sobo
86781e6f9a
Assign pane container before emitting onDidAddPane events
...
Fixes #3972
2014-10-27 11:39:42 -06:00
Nathan Sobo
0ebedeec3a
Merge remote-tracking branch 'origin/master' into ns-workspace-custom-elements
...
Conflicts:
package.json
src/workspace.coffee
2014-09-26 14:49:28 -06:00
Ben Ogle
683d0d1b16
Editor -> TextEditor
2014-09-25 15:14:29 -07:00
Ben Ogle
82c53b539a
editor.coffee -> text-editor.coffee
2014-09-25 15:14:29 -07:00
Nathan Sobo
9d2bb71109
More cleanup
2014-09-25 12:35:08 -06:00
Nathan Sobo
1c58438124
Move PaneContainerView::confirmClose to the model layer
2014-09-24 15:46:01 -06:00