Commit Graph

335 Commits

Author SHA1 Message Date
joshaber
5cf532ebe8 Move checkoutHeadRevision to Workspace. 2016-04-25 17:02:36 -04:00
joshaber
856697e55f Uh we seriously don't need package manager.
Not sure how that slipped back in there.
2016-04-25 16:31:28 -04:00
joshaber
8d7f1b8fba Don't need to pass view registry through anymore. 2016-04-25 16:26:28 -04:00
joshaber
1c6d9728c4 Don't need to pass packageManager in anymore. 2016-04-25 16:25:36 -04:00
joshaber
cf1b4e2217 Another new name. 2016-04-25 15:34:44 -04:00
joshaber
2266f1e3b6 Revert "Just use the already existing change grammar event."
This reverts commit 9014634b3a.
2016-04-25 15:15:31 -04:00
joshaber
9014634b3a Just use the already existing change grammar event. 2016-04-25 15:09:03 -04:00
joshaber
02bbb14052 Better method name 2016-04-25 15:02:16 -04:00
joshaber
b1301a5f74 Trigger the activation hook outside the text editor. 2016-04-25 14:50:34 -04:00
joshaber
48e49061e6 Don't need to pass in the notification manager anymore. 2016-04-25 14:12:20 -04:00
Nathan Sobo
2ad2f161fa Merge pull request #11078 from wvanlint/opt_in_registration
Add TextEditors to the registry only when opting in
2016-03-11 15:37:07 -07:00
Willem Van Lint
466e554ee1 Add TextEditors to the registry on opt-in only 2016-03-10 22:51:51 -08:00
Michelle Tilley
f6d419c2f4 Merge pull request #11057 from atom/mkt-improve-pane-add-item-options
Move Pane::addItem 'pending' option to options object
(cherry picked from commit 53a9c22554)
2016-03-07 10:02:49 -08:00
joshaber
367f6db7a4 Merge branch 'master' into atom-textarea 2016-02-29 23:02:52 -05:00
Willem Van Lint
26cf7f081f Registry for editors 2016-02-29 17:30:04 -05:00
joshaber
707bdf3f39 Merge branch 'master' into atom-textarea 2016-02-29 16:41:01 -05:00
Katrina Uychaco
3848da4488 💄 and 📝 for pending API 2016-02-25 17:21:01 -08:00
Katrina Uychaco
b637366a58 Workspace#setItemNotPending ➡️ Item#onDidTerminatePendingState
Signed-off-by: Michelle Tilley <binarymuse@github.com>
2016-02-25 16:09:40 -08:00
joshaber
55e1496b96 Call the prototype method directly.
h/t @maxbrunsfeld
2016-02-25 14:49:07 -05:00
joshaber
768f5ee5ca Maybe a better comment? 2016-02-25 14:44:01 -05:00
joshaber
dfb1d1d62d Expose a bound buildTextEditor. 2016-02-25 14:43:54 -05:00
Katrina Uychaco
a487110521 Refactor pending state to live in pane instead of items
* New public API `workspace.setItemNotPending` that
  packages can use to set an item to set an item to not pending
  (e.g. when the user interacts with the item)
* Pending state for newly opened items with `{pending: true}`
  is now tracked by `Pane` instead of the item, and packages like
  `tabs` that query this information now get it from the Pane.
2016-02-24 18:30:09 -08:00
Katrina Uychaco
a146401f21 Terminate pending state for opened file if pending option is false 2016-02-17 14:14:59 -08:00
Katrina Uychaco
b8677c13df Rename config to allowPendingPaneItems and improve description 2016-02-17 11:56:50 -08:00
Katrina Uychaco
ae26e6c8ca Add core setting for pending tabs configuration 2016-02-16 14:49:09 -08:00
Lee Dohm
0b13cb00e1 📝 Make the atom.workspace.open split documentation match behavior 2016-02-12 18:45:05 -08:00
Lee Dohm
6b24f4bfa7 📝 Fix atom.workspace.open split parameter mismatch 2016-02-12 18:36:12 -08:00
Max Brunsfeld
49776d114c Merge branch 'beta' 2016-02-02 12:00:08 -08:00
Max Brunsfeld
6d56185300 Merge branch 'stable' into beta 2016-02-02 11:59:42 -08:00
Max Brunsfeld
19349edc7a Only add local paths to recent documents list
Also, add them in Workspace::open and not AtomEnvironment::openLocations
so that files opened in an existing window will also be added to the
list
2016-02-02 11:16:14 -08:00
simurai
4cf8abc786 🎨 Rename top/bottom-bar to header/footer 2016-02-01 11:34:08 -08:00
simurai
c2381e05e5 Add top/bottom bar API 2016-02-01 11:34:08 -08:00
simurai
3ced484718 Add top-bar and bottom-bar elements 2016-02-01 11:34:08 -08:00
Lee Dohm
f826d38d0b Merge pull request #10068 from atom/ld-linkify-promise-docs
📝 Linkify all docs mentions of Promises
2016-01-18 00:23:52 -08:00
Katrina Uychaco
4c1ebdf1b9 Merge branch 'master' into ku-pending-editor 2016-01-14 17:40:41 -08:00
Katrina Uychaco
292ef2fe1c Early return from promise if pane is destroyed 2016-01-09 21:00:53 -08:00
Katrina Uychaco
41c8792a7d Handle EAGAIN errors on open 2016-01-06 18:27:18 -08:00
Lee Dohm
13f220d285 📝 Linkify all docs mentions of Promises 2015-12-14 20:30:34 -08:00
Douwe Maan
b11d0c2585 Use em-dash in window title and exclude app name on OS X 2015-11-21 14:09:00 +01:00
Max Brunsfeld
30b3cb249e Merge pull request #9636 from DouweM/unique-title
Use unique text editor title in window and tab titles
2015-11-20 16:55:38 -08:00
Nathan Sobo
3e22d9f7a2 Merge PR #9607 with a small change 2015-11-20 10:41:22 -07:00
Douwe Maan
a7809d6772 Add 'Close Empty Windows' option.' 2015-11-20 16:40:55 +01:00
Antonio Scandurra
93481c8a0d Move ::isTextEditor down into Workspace 2015-11-19 17:56:53 -08:00
Douwe Maan
4bc4c6888f Use unique text editor title in window and tab titles 2015-11-17 23:34:41 +01:00
Douwe Maan
f93565708b Close empty active window when Close command is given 2015-11-16 17:54:06 +01:00
Kevin Sawicki
64d272050d Handle ENOTDIR errors on open
Closes #7864
2015-11-10 16:35:34 -08:00
Kevin Sawicki
cfd5b7b354 Handle EMFILE errors on open
Closes #8429
2015-11-10 16:20:58 -08:00
Nathan Sobo
d2fdc414e7 Merge pull request #8919 from bencolon/workspace_vertical_splits
Add top/bottom split options when opening uri in a workspace
2015-10-22 14:13:42 -06:00
Ben Colon
1b0d72b232 Add up/down split options when opening uri in a workspace 2015-10-22 17:03:10 +02:00
Nathan Sobo
84aa8471b4 Pass AppDelegate to Workspace, Pane instead of bound functions
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 18:54:48 -06:00