Commit Graph

14025 Commits

Author SHA1 Message Date
joshaber
87c74a8359 Merge branch 'master' into atom-textarea 2016-03-01 10:13:18 -05:00
Lee Dohm
668ec1901a Merge pull request #11008 from jonjitsu/master
📝 Add documentation for order key in config.
2016-02-29 23:59:33 -08:00
joshaber
367f6db7a4 Merge branch 'master' into atom-textarea 2016-02-29 23:02:52 -05:00
Nathan Sobo
e70a92be50 Merge pull request #11011 from atom/autoscroll-after-consolidating-selections
Autoscroll after consolidating selections
2016-02-29 21:32:43 -06:00
Koki Takahashi
fdac1e4663 🐛 Treat empty comment line as comment and add tests (Fix #4140) 2016-02-29 19:51:57 -07:00
Nathan Sobo
a55ad00ac1 Fix option pass-through in Selection:: and Cursor::autoscroll 2016-02-29 18:51:12 -07:00
Nathan Sobo
04d2474594 Merge PR #9642 (Autoscroll after consolidating selections) 2016-02-29 18:38:33 -07:00
Nathan Sobo
d7174d923e Merge pull request #11010 from atom/ns-fix-package-repository-url-normalization
Always strip git+ prefix and .git suffix from package repository URLs
2016-02-29 19:13:44 -06:00
Nathan Sobo
7600c4bdf4 Avoid wrapper closure by passing callback to forEach directly
/cc @wvanlint
2016-02-29 17:39:11 -07:00
Nathan Sobo
b95fd26cce Adjust TextEditorRegistry docs
/cc @wvanlint
2016-02-29 17:38:47 -07:00
Nathan Sobo
c65c8827ac Merge pull request #10851 from wvanlint/observe_editors
Registry for TextEditors
2016-02-29 18:34:03 -06:00
Nathan Sobo
6292484c97 Always strip git+ prefix and .git suffix from package repository URLs
Previously, a guard based on the presence of the _id field (which is
inserted by npm during installation) prevented a regex replacement of
the git+ prefix on URLs. Now we always do this. Since the .git suffix
also causes problems and we’re removing that in packages, I now remove
that as well.
2016-02-29 17:30:03 -07: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
Jonathan Willis
c849216084 Config: Added documentation for order key in config. 2016-02-29 14:49:19 -05:00
Ben Ogle
920d348014 Only move legit items to the top of the stack
Fixes #11002 cc @natalieogle
2016-02-29 11:32:28 -08:00
Michelle Tilley
2dad38a782 onDidTerminatePendingState ➡️ onItemDidTerminatePendingState
Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-02-28 17:57:59 -08:00
natalieogle
420a8d8692 Add activatePreviousRecentlyUsedItem to pane model and add specs. 2016-02-27 20:45:02 -08:00
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