Commit Graph

14990 Commits

Author SHA1 Message Date
natalieogle
bc28a91e02 🎨 Change the structure of a few pieces relating to serialization. 2016-02-27 20:45:02 -08:00
natalieogle
553b3f3300 Change name of function that moves the active item to the top of the item stack. 2016-02-27 20:45:02 -08:00
natalieogle
48ef672524 Remove redundant items.length check. 2016-02-27 20:45:02 -08:00
natalieogle
9610703874 Add check to only build itemStack if there are items. 2016-02-27 20:45:02 -08:00
natalieogle
69a6b9e5c5 Add keymap for 'ctrl-tab ^ctrl' in order to move item to top of stack when lifting ctrl. 2016-02-27 20:45:01 -08:00
natalieogle
3641cc0296 Remove redundant MRU function. 2016-02-27 20:45:01 -08:00
natalieogle
fe52ce6011 Modify serialize functions and add function to move through the item stack in order of most recently used. 2016-02-27 20:45:01 -08:00
natalieogle
6466cb489e Add serialize and deserialize functionality to the itemStack. 2016-02-27 20:45:01 -08:00
natalieogle
7a6c8f53a4 Add activateMostRecentlyUsedItem to pane model. 2016-02-27 20:45:00 -08:00
Michelle Tilley
b9d40be902 Merge pull request #10959 from atom/ku-move-pending-state-from-item-to-pane
(WIP) Refactor pending state to live in pane instead of items
2016-02-26 14:19:23 -08:00
Damien Guard
f03b036872 Merge pull request #10326 from atom/dr-windows-installer-path-read
Fix Windows installer path update woes
2016-02-26 07:18:33 -08:00
Katrina Uychaco
7643fa04ed Small 🐎 when editing a TextEditor that is no longer pending 2016-02-25 17:32:17 -08:00
Katrina Uychaco
8fff6b2dd0 isItemPending(item) ➡️ getPendingItem() 2016-02-25 17:27:39 -08:00
Katrina Uychaco
6add9ce9e4 isItemPending(item) ➡️ getPendingItem() 2016-02-25 17:25:39 -08:00
Katrina Uychaco
3848da4488 💄 and 📝 for pending API 2016-02-25 17:21:01 -08:00
Katrina Uychaco
1c65d0e5e4 Changed Pane and TextEditor specs to match new pending behavior 2016-02-25 16:48:16 -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
dfd3e1b948 Take autoHeight as an argument. 2016-02-25 17:11:04 -05:00
joshaber
ff0b9e30a9 Add ignoreScrollPastEnd 2016-02-25 16:59:58 -05:00
joshaber
1b6325494d Merge branch 'master' into atom-textarea 2016-02-25 16:05:59 -05:00
joshaber
dd83619c45 Add autoHeight setting. 2016-02-25 16:05:57 -05:00
joshaber
dd780a7c5a Revert "Use the computed style to find the height"
This reverts commit 822cd78055.
2016-02-25 15:41:55 -05:00
joshaber
2af53231f1 Less lint. 2016-02-25 15:21:56 -05:00
joshaber
822cd78055 Use the computed style to find the height 2016-02-25 15:18:29 -05:00
joshaber
f3ce468a70 Support specifying whether to ignore invisibles and the grammar. 2016-02-25 15:01:40 -05: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
joshaber
02c7bb3ddd Don't need this view provider anymore. 2016-02-25 14:43:41 -05:00
joshaber
10f0064a63 Call .getElement if the model has it. 2016-02-25 14:43:27 -05:00
joshaber
44dabf1e2f Added .getElement to TextEditor. 2016-02-25 14:43:02 -05:00
Michelle Tilley
d0ffbca845 💄 and 📝 for pending state 2016-02-25 10:49:11 -08:00
Alfred UC
24865fd254 Fix a inconsistent getLineCount() use 2016-02-25 20:30:25 +09: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
Antonio Scandurra
5655518e92 Merge pull request #10925 from atom/as-less-aggressive-state-store
Faster state serialization
2016-02-23 10:10:02 +01:00
Max Brunsfeld
7aab88c4f6 Merge pull request #10841 from ArnaudRinquin/feat/cli-add-option
Add the -a, --add CLI option
2016-02-22 16:42:21 -08:00
Ben Ogle
989b546f1e Merge pull request #10921 from atom/bo-keyup
Add support for keybindings with keyup keystrokes
2016-02-22 14:28:16 -08:00
Carl Henderson
2d4474eb8b search only new data for new lines rather than entire buffer 2016-02-22 15:13:38 -05:00
joshaber
8df13c5849 Standardize the path before copying it. 2016-02-22 11:54:05 -05:00
joshaber
cfa7f99b01 Preserve case as long as we can. 2016-02-22 11:19:54 -05:00
Antonio Scandurra
a361cd7f40 🐎 Use JSON.stringify to serialize state 2016-02-22 11:56:45 +01:00
Antonio Scandurra
677568d9af Use window.requestIdleCallback in StateStore.prototype.save
This should alleviate some of the pressure of serializing changes on the main
thread. We're assuming that `deadline.timeRemaining()` is high enough to compute
the serialization because there's no simple path to serialize state across many
`requestIdleCallback`s (e.g. because state might change between two callbacks).
2016-02-22 11:34:13 +01:00
Ben Ogle
0d118afb6b Send keyup events through the keymapManager 2016-02-21 13:41:26 -08:00
Lee Dohm
b311707fc0 Merge pull request #10898 from atom/wl-pane-notifications
Pass the notification manager when splitting panes
2016-02-19 12:50:40 -08:00
Daniel Hengeveld
7b83db160f remove Open Roadmap menu item, fixes #10884 2016-02-19 12:37:17 +01:00
Arnaud Rinquin
53693b4d0f Add the -a, --add CLI option 2016-02-19 08:54:17 +00:00
Wliu
43dc50f907 Pass the notification manager when splitting panes
Fixes #9587
2016-02-18 22:32:00 -05:00
Max Brunsfeld
aabaf1c2ba Use a temporary storage directory when running specs 2016-02-18 15:10:43 -08:00
Katrina Uychaco
bbd425b6af Merge pull request #10878 from atom/ku-allow-pasting-white-space
Allow pasting white space when `autoIndentOnPaste` is enabled
2016-02-18 13:57:06 -08:00
Max Brunsfeld
fe1e9d5b10 Fix error in specs 2016-02-18 13:11:26 -08:00