Magnar Sveen
66b1127489
Merge pull request #192 from uk-ar/add_search_word
...
Enable to specify search word in mc/mark-all-in-region
2015-05-24 11:19:34 +02:00
Justin Dove
2d6ffce4c9
Support unmarking with no region. Change mc/mark-lines to preserve point.
2015-04-05 17:26:07 -04:00
uk-ar
72b4bf3911
Enable to specify search word in mc/mark-all-in-region
2015-04-04 06:29:46 +09:00
Magnar Sveen
da2a9abfd8
Add mc/mark-all-in-region-regexp
...
Thanks to Gabriel Antonioli :-)
2014-04-16 20:07:26 +02:00
Kouhei Yanagita
00aea4c9d7
Show appropriate error messages on trying skipping/unmarking commands with no fake cursors
2014-01-03 13:00:13 +09:00
Magnar Sveen
17c48f972a
Merge pull request #111 from mathrick/mark-all-dwim
...
Add mc/mark-all-dwim to autoloads
2013-09-13 11:48:11 -07:00
Maciej Katafiasz
6467fe251d
Add mc/mark-all-dwim to autoloads
2013-09-13 18:29:22 +02:00
Magnar Sveen
65c0c0c6fe
Merge pull request #104 from mathrick/mark-all-dwim
...
Add new command, mark-all-dwim
2013-09-06 12:57:31 -07:00
Maciej Katafiasz
ec4781394c
Derp, multiple cursors means > 1, not > 0.
2013-09-06 19:44:31 +02:00
Maciej Katafiasz
18d858f0de
Fall straight through in 'mc/mark-all-dwim' if multiple cursors are already active, as that means we can't sensibly edit lines or mark all in region
2013-09-06 14:52:16 +02:00
Maciej Katafiasz
a86daa79ce
Guard with 'if' rather than defun*/return-from
2013-09-06 09:33:37 +02:00
Maciej Katafiasz
8dfe725c4f
Abort immediately when empty search pattern is passed to 'mc/mark-all-in-region'
2013-09-05 23:53:59 +02:00
Maciej Katafiasz
af66635a05
Make 'mc/mark-all-dwim' into 'mc/edit-lines' if prefix arg is passed
2013-09-05 18:16:39 +02:00
Maciej Katafiasz
5e879f9b5c
Guard against empty search pattern in 'mc/mark-all-in-region', otherwise it will enter an infinite loop
2013-09-05 17:42:36 +02:00
Maciej Katafiasz
45c6cd0be4
Add mc/mark-all-dwim
2013-08-30 22:36:01 +02:00
Akinori MUSHA
2186e1b6e5
mc/mark-lines: Mark by logical lines.
2013-08-01 17:00:03 +09:00
Magnar Sveen
754de4e63b
Backport set-temporary-overlay-map to emacs <24.3
...
Fixes #88
2013-07-11 09:14:06 +02:00
Magnar Sveen
cc45842384
Improved mc/mark-more-like-this-extended
...
- support for terminal
- more instructive message
- keymap that can be rebound
Fixes #84
2013-06-07 23:18:19 +02:00
Magnar Sveen
ccb42b5d70
Inline defun for better readability.
2013-03-15 20:21:34 +01:00
Takafumi Arakaki
1cdd73037f
Automatically select word/symbol
2013-03-10 06:53:53 +01:00
Magnar Sveen
0ee76bfad1
Add mc/add-cursor-on-click
2013-02-20 07:05:18 +01:00
Magnar Sveen
bc8af45bfe
Use derived-mode-p to check for sgml-mode-ishness.
2012-11-21 13:22:27 +01:00
Magnar Sveen
0a081a7c5f
Move mc/maybe-multiple-cursors-mode to core.
2012-11-18 21:10:09 +01:00
Magnar Sveen
7d79b983ea
Autoload new functions.
2012-11-18 16:08:10 +01:00
Magnar Sveen
c010afbbef
Rename mc/mark-sgml-tags to mc/mark-sgml-tag-pair
2012-11-18 14:45:25 +01:00
Magnar Sveen
f721308591
Tweak mc/mark-all-like-this-dwim and add tests
2012-11-18 14:43:39 +01:00
unknown
1074c88c99
Added mc/mark-all-like-this-dwim
2012-10-27 20:33:51 +02:00
Magnar Sveen
fe211c018c
Add word/symbol limiting mark-more functions:
...
- mc/mark-next-word-like-this
- mc/mark-next-symbol-like-this
- mc/mark-previous-word-like-this
- mc/mark-previous-symbol-like-this
- mc/mark-all-words-like-this
- mc/mark-all-symbols-like-this
Fixes #24
2012-10-26 22:51:40 +02: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
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