48 Commits

Author SHA1 Message Date
Maciej Katafiasz
45ed43e1f8 Test edit-lines functionality in 'mc/mark-all-dwim' 2013-09-05 18:22:12 +02:00
Maciej Katafiasz
61388fedef Add 'mark-all-dwim' tests for selection 2013-09-05 18:07:52 +02:00
Maciej Katafiasz
49027c6717 Add basic tests for 'mc/mark-all-dwim' 2013-09-05 17:51:19 +02:00
Magnar Sveen
94af07453d Add some readability enhancing step definitions 2013-06-07 08:03:05 +02:00
Zach Kost-Smith
53db250b43 Added a mark-pop.feature file. 2013-05-26 16:08:21 -05:00
Magnar Sveen
69c99618f9 Use Carton for dev dependencies 2013-05-18 08:16:23 +02:00
Takafumi Arakaki
aa9a1ece7b Add failing scenarios for mark-all-symbols/words 2013-03-10 06:52:12 +01:00
Takafumi Arakaki
25dd14d350 Add more scenarios for mark-all-*-like-this 2013-03-10 06:49:25 +01:00
Takafumi Arakaki
373dcbe002 Add a scenario for mc/mark-all-symbols-like-this 2013-03-10 06:44:18 +01:00
Magnar Sveen
82a1fe3746 Add mc/sort-regions and mc/reverse-regions 2013-02-10 21:04:09 +01:00
Florian Mounier
5190e0cdc6 Add test case for shift-select-mode 2013-02-01 11:52:21 +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
Eyal Erez
6a5969e14a Adding support for using mc/edit-lines without transient mark mode. 2013-01-22 15:30:01 -05:00
Magnar Sveen
f721308591 Tweak mc/mark-all-like-this-dwim and add tests 2012-11-18 14:43:39 +01:00
Marco Baringer
1ec78e195f Don't let mc/mark-lines create 'double' cursors.
Previously using mc/mark-lines in a fowards/backwards/forwards
combination would cause multiple cursors to be placed at the same
point of the same line. This is not useful behaviour.

Noted while implementing magnars suggestion: https://github.com/magnars/multiple-cursors.el/pull/23#commitcomment-1983183
2012-10-12 17:04:36 +02:00
Marco Baringer
80ebdbb35b Added test for mc/mark-(next|previous)-like-this when there is no active region. 2012-10-10 13:37:40 +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
b48e2b7682 mc/edit-lines: Don't include the 'invisible' line
- when marking a region from bottom to top there is an invisible line
   in the region if mark is at the beginning of the line.
 - don't count that line when doing mc/edit-lines
2012-09-27 10:52:21 +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
37a89a6466 Remove mark-multiple-integration feature test 2012-09-24 20:00:49 +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
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
f6403eae7f Fix assertion
- don't toggle rectangular-region-mode, check if it is on.
2012-09-19 17:35:00 +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
608ceb4b81 Disable multiple-cursors-mode if there's only one cursor (the real one). 2012-07-20 15:59:01 +02:00
Magnar Sveen
0bfd611151 More consistent naming. 2012-07-20 15:07:43 +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
Magnar Sveen
b28e8f9536 Update test to fix missing step definition. 2012-06-06 16:45:54 +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