Commit Graph

252 Commits

Author SHA1 Message Date
Machiste Quintana
3b222dbee8 Don't merge selections if at start or end of line 2016-03-28 23:26:28 -07:00
Machiste Quintana
e932e3db05 Merge branch 'master' into mq-move-selected-columns 2016-03-28 22:16:31 -07:00
joshaber
928205a44a s/grammarName/grammar 2016-03-03 10:09:18 -05:00
joshaber
db20cecfc0 s/ignoreInvisibles/showInvisibles 2016-03-03 09:59:45 -05:00
joshaber
e1c5aad0a6 Test ignoreInvisibles and grammarName. 2016-03-01 11:43:38 -05:00
joshaber
e0d44aad5d Test getElement. 2016-03-01 11:07:55 -05: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
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
Collin Donahue-Oponski
e4e200317a Autoscroll to cursor after clearing multi-cursor selection. 2015-12-11 15:32:29 -07: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