22 Commits

Author SHA1 Message Date
Andrew Scott
25b98b940c
Support commands with multiple read-chars
This change fixes commands that read-chars multiple times. Previously, two
stage commands like embrace-change would read the same char twice immediately
and avy-goto-char-timer would never stop reading input as a cached value was
always provided during the timer. Instead, the read-char prompt is included in
the cache key so that multiple different calls are cached separately and
accessible by the fake cursors.
2023-07-28 00:05:13 +01:00
Leo Gaskin
351eb6cbb5 Add multiple-cursors support to execute-extended-command
Also add three new tests for this functionality and adapt some existing
tests as well as the testing harness.
2022-12-24 13:26:12 +01:00
Magnar Sveen
952877fc5b Revert undo-feature for multiple-cursors
re #169
2014-12-26 19:42:01 +01:00
Aleksei
ff0ac1fc75 Add function to disable mc undo into undo-list.
When user enables mc mode we need to add function to disable mc mode
into undo-list. When users starts to hit 'undo' at some point mc-mode
will be disabled.
2014-12-23 00:26:21 +03:00
lexa
19f842d60a Undo after leaving mc mode will restore cursors as they was 2014-10-26 12:35:39 +03:00
Kouhei Yanagita
238fb970f9 Add edge case scenarios which test behavior of mc/cycle-forward and mc/cycle-backward 2014-01-05 14:50:00 +09:00
Magnar Sveen
94af07453d Add some readability enhancing step definitions 2013-06-07 08:03:05 +02:00
Marco Baringer
9ac7675c78 Added tests for mc/cycle-forward and mc/cycle-backward with their new looping behaviour 2012-10-10 13:36:45 +02:00
Magnar Sveen
7a6eb0df90 Never execute keyboard macros for fake cursors.
- The real cursor will execute the keyboard macro, resulting in new
   commands in the command loop, and the fake cursors can pick up on
   those instead.

Fixes #18
2012-10-02 12:19:00 +02:00
Magnar Sveen
97da9778fd Intercept some reading commands
- so you won't have to answer them for every single cursor

Fixes #15
2012-09-27 19:42:38 +02:00
Magnar Sveen
d7263f21f0 A more rubust way of finding the command currently being invoked.
- which is necessary because cua-mode does some wacky stuff.

Fixes #8
2012-09-27 00:29:25 +02:00
Magnar Sveen
719fe40ca3 Integrate with rect.el instead of consolidating/splitting on kill-ring 2012-09-23 19:12:42 +02:00
Magnar Sveen
067063a346 Split multiline kill-ring entry over cursors when num lines match 2012-09-23 18:36:46 +02:00
Magnar Sveen
ef2226b993 Consolidate kill-ring entries when exiting multiple-cursors-mode 2012-09-23 16:26:04 +02:00
Magnar Sveen
7ab8a8c977 Better support for undo. 2012-07-20 12:10:22 +02:00
Magnar Sveen
4c56cb8b78 Tests for white-list prompt. 2012-07-20 08:23:43 +02:00
Magnar Sveen
700db99d66 Add kill-ring-save to whitelist. 2012-07-19 12:55:54 +02:00
Magnar Sveen
ed678dfbcc Couple more core-tests. 2012-07-19 12:51:06 +02:00
Magnar Sveen
50851e7ac2 Add more core tests. 2012-07-19 09:47:23 +02:00
Magnar Sveen
eda9952fc0 Finally got the tests running. :-) 2012-07-18 15:54:08 +02:00
Magnar Sveen
822bf18adf Update test. 2012-07-18 13:03:33 +02:00
Magnar Sveen
d3a29a2c6f Started working on multiple-cursor core tests.
- got a problem with detecting overlays in ecukes.
2012-06-07 19:35:15 +02:00