10 Commits

Author SHA1 Message Date
Magnar Sveen
1afbb9317c Add mc/cycle-looping-behaviour to multiple-cursors custom group. 2012-10-26 22:15:12 +02:00
Marco Baringer
2818d9e7ef Rename mc/(first|last)-cursor-(before|after)-point to mention that they operate on fake cursors 2012-10-12 17:07:55 +02:00
Marco Baringer
038c9a7f03 Added stop as a possible value for mc/cycle-looping-behaviour.
Simply disables looping (no warning either).
2012-10-12 16:56:01 +02:00
Marco Baringer
19b1a83925 Refactor mc/first-cursor-after and mc/last-cursor-before to not use extreme.
Sometimes imperative code is more readable.
Suggested by magnars (https://github.com/magnars/multiple-cursors.el/pull/23#commitcomment-1983268)
2012-10-12 16:51:01 +02:00
Marco Baringer
e4adefc04e Fix issues with mc/cycle-(backward|forward) where the cycling was dependent on not having an active mark.
This patch also adds two utility functions mc/first-cursor-after and mc/last-cursor-before.
2012-10-10 13:39:28 +02:00
Marco Baringer
876937bfa3 Use (interactive "P") instead of the weird (but equivalent) (interactive (list prefix-arg)) 2012-10-10 10:04:22 +02:00
Marco Baringer
fcbb7a4df9 Make mc/cycle-forward and mc/cycle-backward loop around by default.
Instead of erroring if there is no next (respectively previous) cursor
mc/cycle-forward (respectively mc/cycle-backward) will just loop back
to the first (respectively last) cursor.
2012-10-10 09:24:19 +02:00
Magnar Sveen
b912bf80b1 Always require multiple-cursors-core 2012-08-02 10:34:48 +02:00
Magnar Sveen
b1ea7f2230 Add licences to all el-files. 2012-07-25 23:00:19 +02:00
Magnar Sveen
092b0a1017 Cycle through cursors with C-v and M-v 2012-07-21 08:26:41 +02:00