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
abe33
d68a0db6d2
🎨 Fix description test
...
Actually it doesn’t test multiple selections moves.
2015-10-12 21:16:07 +02:00
abe33
09ffa8bec9
🐛 Fix moving multiple selections down locked at wrapped line
2015-10-11 18:15:06 +02:00
abe33
f4f4b9fdef
Merge branch 'master' into pr/8232
2015-10-11 14:23:36 +02:00
Thomas Johansen
d878092794
🎨 Replace unnecessary fat arrow
2015-10-07 15:25:06 -05:00
Nathan Sobo
51abab930d
Parameterize config on editor instead of using global atom.config
2015-10-07 15:24:58 -05:00
Nathan Sobo
eb2ace37b4
Move TextEditor construction to Workspace
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com >
2015-10-07 15:24:56 -05:00
easyhard
b9f0445e59
Add TextEditor.getUniqueTitle()
...
This method is intended to replace TextEditor.getLongTitle
and gives a better tab title when there are multiple opened
files has identical file name. This method will returns
<unique-parent-directory>/.../<filename> when opened files
have identical file name.
2015-10-02 19:19:16 +08:00
Antonio Scandurra
e648d880ed
Manually set rows per page in the model
2015-09-29 08:24:28 +02:00
Antonio Scandurra
575d79acce
Merge pull request #8604 from lpommers/pressing-esc-on-multiple-cursors-returns-to-original-cursor-or-selection
...
Pressing esc on multiple cursors returns to original cursor or selection
2015-09-28 10:01:42 +02:00
Wliu
7c0a656036
🔥 Remove hardcoded Makefile tab behavior
2015-09-26 15:54:51 -04:00
Antonio Scandurra
bded7e4fb0
💚
2015-09-25 12:04:25 +02:00