Katrina Uychaco
1c65d0e5e4
Changed Pane and TextEditor specs to match new pending behavior
2016-02-25 16:48:16 -08:00
Alex
fff2a54258
✅ Specs for variable tabLength
...
For #9198
2016-02-10 02:53:01 -06:00
Aaron Contreras
cbff7394c6
🐛 Reuse scroll position on text editor's copy. Fixes #8765
...
✅ Update specs to avoid regressions
2016-02-09 00:36:37 +01:00
Max Brunsfeld
aea9c5804a
Improve terminate pending state tests.
...
Remove argument to remove pending state listeners.
2016-01-12 18:34:32 -08:00
Katrina Uychaco
4d0b58ff46
Add spec for serialzing/deserialzing pending state for editor
2016-01-10 13:01:01 -08:00
Katrina Uychaco
364205ca56
✅ Ensure terminate handler is invoked only once
2016-01-09 18:10:28 -08:00
Katrina Uychaco
d0be1965f2
🎨
2016-01-09 17:26:44 -08:00
Katrina Uychaco
43d933eca8
Change order of tests
2016-01-09 17:18:07 -08:00
Katrina Uychaco
def62fc6c7
Fix test: modified buffer terminates pending state
2015-12-24 21:42:00 -08:00
Katrina Uychaco
217e07530f
Add test: modified buffer terminates pending state
...
Test not yet passing. ::insertText is not triggering terminatePendingState. Not sure why...
2015-12-24 18:43:57 -08:00
Katrina Uychaco
fa86d2d156
Add tests for pending status
2015-12-24 17:57:08 -08:00
Antonio Scandurra
1f955f0aab
🔥 💚 Remove outdated spec
...
This made the build fail because we were checking that a TextEditor couldn't
have been serialized when the path didn't exist. This is exactly the opposite we
want to do for restoring untitled editors, therefore I think it's safe to delete
this test.
/cc: @nathansobo for extra 👀
2015-12-07 22:03:28 +01:00
Wliu
2b694bb4b1
Merge pull request #9921 from atom/wl-update-for-js-scope-changes
...
Update specs for language-javascript changes
2015-12-03 17:26:17 -05:00
Max Brunsfeld
fe5b1b70e8
Fix paragraph motions in the presence of CRLF line endings
2015-12-03 12:07:15 -08:00
Max Brunsfeld
76b6ca5043
Make CRLF word-movement tests pass
2015-12-03 11:52:45 -08:00
Max Brunsfeld
71d2761c1a
Merge pull request #9763 from dranzerashi/patch-1
2015-12-03 10:30:48 -08:00
Wliu
d85af0d3f4
💚 again
2015-12-02 21:39:12 -05:00
Douwe Maan
a9bf2a73a5
Improve TextEditor::getLongTitle
2015-11-17 23:34:31 +01:00
Nathan Sobo
192e804c8f
Fix specs. Duh.
2015-11-17 08:53:13 -08:00
Max Brunsfeld
fefb387d3c
Merge branch 'master' into mb-synchronous-scroll-position
...
Conflicts:
src/text-editor-presenter.coffee
src/text-editor.coffee
2015-11-10 16:23:39 -08:00
Max Brunsfeld
1304648361
Make getLastVisibleScreenRow a model API again
2015-11-09 11:00:38 -08:00
Max Brunsfeld
48cc5e713e
Make presenter respond to external changes to model's first visible screen row
2015-11-09 10:13:09 -08:00
Nathan Sobo
9ee3d53975
Destroy the selections marker layer when editors are destroyed
2015-11-09 00:35:31 -07:00
Nathan Sobo
29bb1bb31b
Add TextEditor-level marker layers and use them for selections
2015-11-09 00:35:31 -07:00
Nathan Sobo
a3ff0ad75a
🎨 Rename method
2015-11-09 00:35:28 -07:00
Nathan Sobo
75d0a0820c
Allow properties to be overridden for a single marker in LayerDecoration
2015-11-09 00:35:28 -07:00
Nathan Sobo
acf142863c
Add TextEditor::decorateMarkerLayer
2015-11-09 00:35:27 -07:00
Nathan Sobo
3a25fe4975
Remove id from decoration properties
...
It doesn’t make sense to include this when we’ll reuse the same
properties for multiple decoration instances when decorating marker
layers.
2015-11-09 00:35:27 -07:00
Nathan Sobo
7d22ed788c
Test decorateMarker + decorationStateForScreenRowRange
2015-11-09 00:35:27 -07:00
Nathan Sobo
9d6168aac8
Fix gutter spec indentation
2015-11-09 00:35:27 -07:00
abe33
849dd33e87
🎨 Place move lines test with auto indent with other move lines tests
2015-11-04 18:55:52 +01:00
abe33
6b2725077a
Merge back master
2015-11-04 18:26:27 +01:00
Max Brunsfeld
e77edcdf42
🎨 Put subword movement specs under cursor and selection sections
2015-11-03 13:39:16 -08:00
Max Brunsfeld
803c38477f
Fix indentation in subword motion specs
2015-11-03 12:45:58 -08:00
Max Brunsfeld
a41d38e036
🎨 Tweak descriptions for moveLine{Up,Down} specs
2015-11-03 10:44:52 -08:00
Max Brunsfeld
3412251963
Merge pull request #9104 from joseramonc/master
...
autoindent lines with moveLineUp/moveLineDown
2015-11-03 10:41:29 -08:00
abe33
5d8ec8587e
🔥 Remove test focus
2015-11-03 00:51:01 +01:00
abe33
dacd08badf
🐛 Fix moving multiple selection with folds creates new folds
2015-11-03 00:48:22 +01:00
abe33
668a2dd6cf
🐛 Fix moving a multiple selection with a fold creating new folds
2015-11-02 23:43:43 +01:00
abe33
7e32dab68f
🎨 Fix tests descriptions
2015-11-02 23:37:56 +01:00
abe33
9d21c773c1
🐛 Fix moving single selection intersecting a fold
2015-11-02 21:46:02 +01:00
abe33
57556ffc42
Merge branch 'master' of github.com:atom/atom into cn-move-lines-up-and-down-with-multiple-selections
2015-11-02 18:39:04 +01:00
Nathan Sobo
152a479909
Merge pull request #9024
2015-11-02 11:26:21 -06:00
Antonio Scandurra
cd47c7be02
Fix leftover spec
2015-10-16 11:22:03 +02:00
Antonio Scandurra
b03aa4bf40
Merge branch 'master' into as-cjk-soft-wrap
...
# Conflicts:
# spec/display-buffer-spec.coffee
2015-10-16 10:23:44 +02:00
Antonio Scandurra
20b0523833
💚
2015-10-15 16:41:27 +02:00
joseramonc
29dfd1c904
add moveLineUp and moveLineDown specs
2015-10-13 21:07:46 -05:00
Nathan Sobo
79d9a13ea7
Fix ENOENT exceptions in text-editor-spec
2015-10-12 15:09:28 -06:00
abe33
d8aba0d295
🎨 Improve test descriptions and fix a typo
2015-10-12 22:10:09 +02:00
abe33
45a3dbca4e
🐛 Fix folds not preserved when moving multiple selections down
...
When two or more selections span the rows immediately before a fold,
the `did-change` event dispatched on the deletion will trigger a merge
of the selections, which in turn trigger an unfold at the buffer
position of the new selection, which is now the position of the fold.
Consolidating the selections at the begin of the transaction will
prevent the merge and will keep the fold untouched.
2015-10-12 22:05:25 +02:00