Antonio Scandurra
0fdc190989
Use isQuitting: false when saving state on key/mouse down
2016-03-04 17:08:32 +01:00
Antonio Scandurra
311cde36c9
Call saveState(isQuitting: true) on beforeUnload
2016-03-04 17:06:53 +01:00
Antonio Scandurra
011fe380e9
Pass markerLayer: false to buffer.serialize when not quitting
2016-03-04 16:57:02 +01: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
a59ee5dec8
Remove trailing semicolon
2016-02-29 19:51:58 -07:00
Koki Takahashi
6d00d5e979
Revert focus on language-mode-spec.coffee
2016-02-29 19:51:57 -07: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
7f744681c3
Simplify consolidateSelections spec to test autoscroll with events
2016-02-29 18:51:36 -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
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
Michelle Tilley
94b614ff2b
Merge pull request #11006 from atom/mkt-move-pane-pending-specs-from-tabs-into-core
...
Move spec from tabs package
2016-02-29 16:26:29 -08:00
Willem Van Lint
26cf7f081f
Registry for editors
2016-02-29 17:30:04 -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
4769e601bf
Move spec from tabs package
...
See https://github.com/atom/tabs/pull/274#issuecomment-190064071
Signed-off-by: Katrina Uychaco <kuychaco@github.com >
2016-02-29 11:27:38 -08:00
Michelle Tilley
d39418ad7c
Add specs for Pane::setPendingItem and ::onItemDidTerminatePendingState
...
Signed-off-by: Katrina Uychaco <kuychaco@github.com >
2016-02-28 18:52:09 -08:00
natalieogle
420a8d8692
Add activatePreviousRecentlyUsedItem to pane model and add specs.
2016-02-27 20:45:02 -08:00
natalieogle
f7de9052d6
Update specs for itemStack.
2016-02-27 20:45:02 -08:00
natalieogle
463dc6955a
Update spec for MRU tab functionality with correct function name.
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
Michelle Tilley
84a2ef69af
Fix Workspace#open pending specs
2016-02-26 07:23:51 -08:00
Katrina Uychaco
1c65d0e5e4
Changed Pane and TextEditor specs to match new pending behavior
2016-02-25 16:48:16 -08:00
Max Brunsfeld
3bc9eb62b2
Merge pull request #10933 from atom/mb-fix-block-decorations-spec
...
Fix block decorations spec in text editor presenter
2016-02-22 17:08:41 -08: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
Max Brunsfeld
98559f5d34
Add missing
2016-02-22 16:31:17 -08:00
Max Brunsfeld
ea5500a124
Print line number of wait timeout in presenter spec
2016-02-22 16:31:06 -08:00
Arnaud Rinquin
bb1c048e12
Add -a, --add specific integration tests
2016-02-22 18:38:25 +00:00
joshaber
01751c038a
Ensure we're treating it as case insensitive.
2016-02-22 11:53:38 -05:00
joshaber
04cab58c56
Failing test.
2016-02-22 11:18:54 -05:00
Arnaud Rinquin
53693b4d0f
Add the -a, --add CLI option
2016-02-19 08:54:17 +00:00
Max Brunsfeld
2e7101e5eb
Don't display an editor window in atom-environment-spec
2016-02-18 15:11:26 -08:00
Max Brunsfeld
8a24364e80
Import fit in text-editor-component-spec
...
So that you can focus a test while keeping it async
2016-02-18 15:10:16 -08:00
Max Brunsfeld
dec328dab7
Remove stray console.log in spec
2016-02-18 15:09:22 -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
Katrina Uychaco
746afb98ad
Add spec for inserting white-space-only lines
2016-02-18 12:04:08 -08:00
Max Brunsfeld
300362163d
Merge pull request #10888 from atom/mb-fix-package-deserializers
...
Load packages before deserializing state
2016-02-18 10:27:04 -08:00
Max Brunsfeld
43656a9861
Load packages before deserializing state
2016-02-18 09:17:34 -08:00
Antonio Scandurra
3d953632e6
Merge pull request #10861 from atom/as-update-foldable-status
...
Compute line foldability lazily
2016-02-18 15:26:44 +01:00
Antonio Scandurra
d6132888fa
💚 Attempt to fix specs
2016-02-18 14:18:27 +01: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
912df0ae03
Merge pull request #10846 from atom/ku-pending-tabs-option
...
Add core setting for pending tabs configuration
2016-02-17 11:57:40 -08:00
Katrina Uychaco
b8677c13df
Rename config to allowPendingPaneItems and improve description
2016-02-17 11:56:50 -08:00
Antonio Scandurra
68bf2f8dc7
💚 Fix unrelated failing spec
2016-02-17 17:20:54 +01:00
Antonio Scandurra
bea324eae9
🔥 Use just isFoldableAtBufferRow
2016-02-17 15:05:31 +01:00
Antonio Scandurra
90c75fd6da
Delete specs testing previous behavior
...
When emitting the `did-change` event, `updateFoldableStatus` used to extend the
change region up and down to include all the lines that changed their
foldability status because of a buffer change. I assume this was supposed to
invalidate folds that *contained* the change whenever a line was edited in a way
that affected also the previous or subsequent ones.
That information, however, is not being used by `DisplayBuffer`, which does not
alter existing folded regions when they become invalid.
I believe the correct behavior should be to unfold the invalid region and
recompute those screen lines. Nonetheless, it seems reasonable to me to keep the
original (wrong) behavior and not address it in this branch, because it strays
from the original intent of this refactoring.
We should probably fix it once for all in another PR or when
integrating/implementing `DisplayLayer`.
2016-02-17 14:35:22 +01:00