10 Commits

Author SHA1 Message Date
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
3f20fc15a7 When no region is active mc/mark-next-like-this and mc/mark-previous-like-this should create a cursor one like up (or down).
Added the functions mc/mark-next-lines and mc/mark-previous-lines
which create cursors one line above and below point.

Refactored common mc/mark-previous-like-this and
mc/mark-next-like-this functionality into mc/mark-more-like-this.

Changed mc/mark-next-like-this and mc/mark-more-like-this to call
mc/mark-next-lines and mc/mark-previous-lines when there is no
active region (instead of erroring).
2012-10-10 11:15:22 +02:00
Magnar Sveen
a0f771f3e4 Include interactive commands for deselecting prev/next
Fixes #21
2012-10-04 07:47:31 +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
39e4eb2389 Added mc-version of mark-more-like-this-extended 2012-07-25 19:38:27 +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