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
Antonio Scandurra
91ef57ed29
Merge branch 'master' into as-display-buffer-logical-coordinates
...
# Conflicts:
# src/display-buffer.coffee
2015-09-23 18:46:16 +02:00
Antonio Scandurra
d0eabb25fd
🔥 Remove assertion about scrolling
2015-09-23 15:34:42 +02:00
Antonio Scandurra
4136c195c9
Port .scrollToCursorPosition() specs
2015-09-23 15:34:42 +02:00
Antonio Scandurra
0ccb34de42
wip
2015-09-23 15:34:42 +02:00
Antonio Scandurra
25735b2ee1
Port autoscroll when selecting buffer ranges
2015-09-23 15:34:42 +02:00
Antonio Scandurra
7f3160eba6
Port .selectLinesContainingCursors() specs
2015-09-23 15:34:42 +02:00
Antonio Scandurra
57a006d19b
Start porting scroll-related specs
2015-09-23 15:34:41 +02:00
Luke Pommersheim
1b07093cff
update comments
2015-09-23 11:01:49 +02:00
Luke Pommersheim
6697693d57
Merge remote-tracking branch 'upstream/master' into move-lines-up-and-down-with-multiple-selections
2015-09-23 08:38:37 +02:00
Nathan Sobo
04bda33c10
Don’t use Serializable mixin in TextEditor
2015-09-22 10:37:15 -06:00
Nathan Sobo
78cdd7cb6e
🔥 Remove theorist and TextEditor deprecations
2015-09-22 10:37:13 -06:00
Ivan Zuzak
bed902e7df
Just test everything with soft wrap on
2015-09-18 12:42:06 +02:00
Ivan Zuzak
7e1a295f07
Add method for cutting text to the end of the buffer line
2015-09-17 19:34:53 +02:00
Nathan Sobo
3ca11c2cef
🎨 select-line adjustments; Only select single row if row is given
2015-09-03 08:25:24 -06:00
jc roy
361ef308e2
SelectLine : When multiple line selected, complete both first and last line.
2015-09-02 20:03:18 -04:00
Luke Pommersheim
92881e64b3
Merge remote-tracking branch 'upstream/master' into move-lines-up-and-down-with-multiple-selections
2015-09-02 09:30:42 +02:00
Luke Pommersheim
7822e2c676
🌷 change the spec for consolidateSelections
2015-08-31 20:22:24 +02:00
Nathan Sobo
c7cc404c42
Simplify page-up/page-down
...
We simply move the cursor up or down by the number of whole lines that
fit on screen, allowing autoscroll to adjust the scroll position. This
causes there to be a margin under the location to which we move the
cursor, but I think it’s better to provide context and keep the
autoscroll experience consistent when using the keyboard.
2015-08-28 13:39:14 -06:00
Luke Pommersheim
5ed6657d47
spec garden for reversing the buffer selections 🌷
2015-08-28 12:06:25 +02:00
Nathan Sobo
4bbc1d806e
Create a selection automatically as needed if the last one was destroyed
...
Fixes atom/bracket-matcher#102
2015-08-26 17:59:33 -06:00
Max Brunsfeld
f57da0c6f8
Suppress merging selections during undo/redo
...
Now, during undo/redo overlapping selections will be temporarily
created as markers are created via snapshots. Old selections will
immediately be destroyed though, since undo/redo now completely
replace all historied markers w/ those in the snapshot, so there
is no need to merge selections.
2015-08-25 10:51:45 -07:00
Luke Pommersheim
e838866655
remove spec pertaining to moving down on last line 🌻
2015-08-24 08:13:39 +02:00
Max Brunsfeld
7e197060bc
Merge pull request #8025 from lpommers/copy-selection-to-clipboard
...
Copy selection command to only write to clipboard if text selected
2015-08-18 09:25:59 -07:00
Luke Pommersheim
e96d6f50ad
🎨 newlines fix
2015-08-18 18:22:18 +02:00
Luke Pommersheim
1a965edd00
🌷 spec more specific
2015-08-18 17:09:23 +02:00
Luke Pommersheim
b60e0bec2e
🌻 spec for moveLineDown
2015-08-16 08:58:50 +02:00
Luke Pommersheim
f3354f9a33
✅ moveLineUp dealing with folds
2015-08-13 18:02:01 +02:00
Nathan Sobo
75f341263a
Handle multiple selections on the same line
2015-08-13 18:02:01 +02:00