25 Commits

Author SHA1 Message Date
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
Andrea Orru
67d6579eab Updated tests, README. 2016-07-17 16:40:56 +02:00
Magnar Sveen
a393384b35 Merge pull request #227 from jtamagnan/insert_letters
Add mc/insert-letters function and test cases
2015-12-05 21:25:04 +01:00
Jules Tamagnan
8703b19872 Add mark-next-like-this-symbol function
* README.md: Update readme to include mark-next-like-this symbol
 * features/step-definitions/multiple-cursors-steps.el: Add phrase for
   mark-next-like-this-symbol
 * features/support/env.el: Add keyboard shortcut for
   mark-next-like-this-symbol and fix shortcut for
   mark-next-like-this-word
 * mc-mark-more.el: Add mc/mark-next-like-this-symbol function
 * multiple-cursors-core.el: Add mc/mark-next-like-this-symbol to
   functions to run only once
 * multiple-cursors.el: Add to readme section.
2015-12-04 16:56:50 -05:00
Jules Tamagnan
36b7025a35 Add alternative to mc/mark-next-like-this
* README.md: Add mc/mark-next-like-this-word tidbits to readme.
 * features/step-definitions/multiple-cursors-steps.el: Add
   mc/mark-next-like-this-word call.
 * features/support/env.el: Add shortcut for mc/mark-next-like-this-word
   as "C-S-c C->".
 * mc-mark-more.el: Add to mc/mark-next-like-this description to explain
   what happens when no region is selected. Add
   mc/mark-next-like-this-word function.
 * multiple-cursors-core.el: Add mc/mark-next-like-this-word to commands
   to run once.
 * multiple-cursors.el: Add information about mc/mark-next-like-this-word.
2015-12-04 13:34:47 -05:00
Jules Tamagnan
ca822cd0d0 Add mc/insert-letters function and test cases
* README.md: Add to readme, under special section.
 * features/insert-letters.feature: Add scenarios.
 * features/step-definitions/multiple-cursors-steps.el: Add call.
 * features/support/env.el: Add keybinding for insert-letters to H-3.
 * mc-separate-operations.el: Add function and helper functions.
 * multiple-cursors-core.el: Add insert-letters to functions that run once.
 * multiple-cursors.el: Add to readme.
2015-12-02 19:13:39 -05:00
Maciej Katafiasz
49027c6717 Add basic tests for 'mc/mark-all-dwim' 2013-09-05 17:51:19 +02:00
Magnar Sveen
82a1fe3746 Add mc/sort-regions and mc/reverse-regions 2013-02-10 21:04:09 +01:00
Magnar Sveen
9582c7220b Add mc/insert-numbers
- adds increasing numbers for each cursor, top to bottom
2013-01-23 12:05:18 +01:00
Magnar Sveen
f721308591 Tweak mc/mark-all-like-this-dwim and add tests 2012-11-18 14:43:39 +01: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
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
f7d393d46e Don't use next-line and previous-line in non-interactive ways.
- it messes up in visual-line-mode

Fixes #10
2012-09-24 20:00:33 +02:00
Magnar Sveen
241e34ef2d Remove mark-multiple integration
- it caused more problems than it was solving

Fixes #9
2012-09-24 13:00:12 +02:00
Magnar Sveen
b6077942c4 Add config for travis-ci 2012-09-19 17:26:09 +02:00
Magnar Sveen
f42e467bf8 Added mc-version of mark-all-in-region 2012-07-25 19:34:45 +02:00
Magnar Sveen
0d89125f60 Added mc-version of mark-all-like-this 2012-07-25 15:33:24 +02:00
Magnar Sveen
576bf90346 mc version of mark-previous-like-this 2012-07-24 20:54:37 +02:00
Magnar Sveen
36b262c99e Added mc-version of mark-next-like-this 2012-07-23 22:06:09 +02:00
Magnar Sveen
ca0e0ae9d9 Tests for rectangular-region-mode 2012-07-23 09:18:31 +02:00
Magnar Sveen
8ec468f38a Don't save .mc-list.el when running tests. 2012-07-21 13:07:28 +02:00
Magnar Sveen
ed678dfbcc Couple more core-tests. 2012-07-19 12:51:06 +02:00
Magnar Sveen
eda9952fc0 Finally got the tests running. :-) 2012-07-18 15:54:08 +02:00
Magnar Sveen
dcd9c52b4a Add new feature test. 2012-06-06 12:59:33 +02:00
Magnar Sveen
ef7eddf1c5 Started adding feature tests. 2012-06-06 08:45:20 +02:00