349 Commits

Author SHA1 Message Date
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
bbbe90d274 Minor changes mark-next-like-this-word and readme
* README.md: Adjust read to no longer recommend extend region if user
   is using mark-next-like-this-word
 * mc-mark-more.el: mark-next-like-this-word makrs whole word and not
   only from point to the end of the word
2015-12-04 16:28:29 -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
Magnar Sveen
97e5db17c5 Merge pull request #207 from vermiculus/master
Add safety ceiling to cursor count at creation
2015-07-10 13:56:17 +02:00
Sean Allred
3f1611c7cb Factor out a superfluous variable
`mc--active-cursor-count' was effectively duplicating the purpose of
`mc/num-cursors'.  While the latter is necessarily slower (being a
function), it is well-tested and stable.
2015-06-27 09:38:02 -05:00
Magnar Sveen
9b53e892e6 Merge pull request #203 from dovej/master
Changed mc/furthest-cursor-after(before)-point to check if mark is active.
2015-06-27 10:48:00 +02:00
Sean Allred
cd967e720f Small optimization
If we remove the ceiling entirely, we won't even enter the form that
checks values, etc.
2015-06-26 21:33:48 -05:00
Sean Allred
2e904a0be2 Add safety ceiling to cursor count at creation
The customizable option `mc/max-cursors' now provides a soft maximum for
the number of cursors allowable.  This is helpful for slower emacsen who
may freeze up when adding too many cursors (as in `mark-all' variants).

Fix: #206
2015-06-26 21:17:53 -05:00
Justin Dove
5d677f765c Unrevert "Support unmarking with no region. Change mc/mark-lines to preserve point."
This reverts commit 2588ccef6939b77896105f23642483c30c4a4e06.
2015-06-08 09:20:46 -04:00
Justin Dove
49c9f7f6bf Merge remote-tracking branch 'upstream/master' 2015-06-08 09:18:33 -04:00
Justin Dove
c90bb624db Changed mc/furthest-cursor-after(before)-point to check if mark is active. 2015-06-07 18:06:55 -04:00
Magnar Sveen
2588ccef69 Revert "Support unmarking with no region. Change mc/mark-lines to preserve point."
This reverts commit 2d6ffce4c94cdbec1ea8ec086ea346423bafcdf1.

Fixes #201
2015-05-29 08:03:15 +02:00
Magnar Sveen
142fdd6534 Use locate-user-emacs-file to find directory for .mc-lists.el 2015-05-26 09:07:50 +02:00
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
Magnar Sveen
533e1576e3 Merge pull request #160 from P-Seebauer/master
Added whitespace functionality.
2015-05-24 11:17:45 +02:00
Magnar Sveen
faf331dfae Merge pull request #183 from grettke/patch-1
Typo fixo.
2015-05-24 11:16:24 +02:00
Magnar Sveen
89e360e96c Merge pull request #193 from dovej/master
Support unmarking with no region. Change mc/mark-lines to preserve point...
2015-05-24 11:15:22 +02:00
Magnar Sveen
97f7b1d598 Merge pull request #197 from kissge/user-emacs-directory
Respect user-emacs-directory
2015-05-24 09:59:32 +02:00
kissge
4969d382de Move mc/list-file to the user-emacs-directory 2015-05-24 13:06:21 +09: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
cec48cc78f Merge pull request #188 from iqbalansari/master
Add missing require to mc-hide-unmatched-lines-mode
2015-03-08 08:22:44 +01:00
Iqbal Ansari
7d843984b3 Add missing require to mc-hide-unmatched-lines-mode
The function `hum/hide-unmatched-lines` uses the function
`mc/cursor-beg`, defined in `mc-mark-more.el`, however the feature is
not required leading to failures in some edge case.  Fixes #187
2015-03-08 12:24:36 +05:30
Grant Rettke
7cf6374333 Typo fixo.
cursos -> cursors
2015-02-05 11:15:09 -06:00
Magnar Sveen
dc1bfbf816 Add cua-delete-region to default run-for-all 2015-01-01 23:31:38 +01:00
Magnar Sveen
952877fc5b Revert undo-feature for multiple-cursors
re #169
2014-12-26 19:42:01 +01:00
Magnar Sveen
f0dcd06c6f Merge pull request #175 from lexa/master
Add function to disable mc undo into undo-list.
2014-12-22 23:13:38 +01:00
Aleksei
ff0ac1fc75 Add function to disable mc undo into undo-list.
When user enables mc mode we need to add function to disable mc mode
into undo-list. When users starts to hit 'undo' at some point mc-mode
will be disabled.
2014-12-23 00:26:21 +03:00
Magnar Sveen
82586a0f66 Consolidate contributor entries for Aleksey 2014-10-26 20:25:21 +01:00
Magnar Sveen
adf86bd4c8 Add @lexa to list of contributors 2014-10-26 13:08:11 +01:00
Magnar Sveen
40b1bad8ac Merge pull request #169 from lexa/master
"Undo" after leaving mc mode will restore cursors as they was
2014-10-26 13:03:57 +01:00
lexa
19f842d60a Undo after leaving mc mode will restore cursors as they was 2014-10-26 12:35:39 +03:00
Magnar Sveen
66eefa2963 Add cperl-electric-backspace to default run-for-all list
See #87
2014-10-22 12:39:32 +02:00
Magnar Sveen
49fe803f3b Merge pull request #163 from Silex/master
Improve mc-hide-unmatched-lines-mode.el
2014-10-03 14:51:22 +02:00
Philippe Vaucher
912342ed85 Add missing ###autoload markers 2014-10-03 14:21:18 +02:00
Philippe Vaucher
b46f79566e Fix style issues 2014-10-03 14:21:18 +02:00
Patrick Seebauer
715665129e fixed documentation 2014-09-05 18:45:34 +02:00
Patrick Seebauer
7ddda8527b Added vertical align commands
Squashed commit of the following:

commit 243a14e69501bf938eea54449782f43be2084ef2
Author: Patrick Seebauer <patrick.seebuaer@web.de>
Date:   Fri Sep 5 18:06:19 2014 +0200

    removed uniq line check and added warning in the docs about cursors on the same line.

commit 438658ef0358b0a1540c2663aedba0253150a007
Author: Patrick Seebauer <patrick.seebuaer@web.de>
Date:   Fri Sep 5 17:59:55 2014 +0200

    fixed tests for commands with character inputs

commit c565969c6bb01e37ec42cfe311ada87643e38ccc
Author: Patrick Seebauer <patrick.seebuaer@web.de>
Date:   Fri Sep 5 17:36:41 2014 +0200

    renamed to vertical align, added non-whitespace option

commit 941c40a319f571680017293681ff7d796ba4e1f4
Author: Patrick Seebauer <patrick.seebuaer@web.de>
Date:   Fri Sep 5 16:58:14 2014 +0200

    added test

commit d9a4a55ebde9b51c3f62b14948529759aaaa9bf6
Author: Patrick Seebauer <patrick.seebuaer@web.de>
Date:   Tue Sep 2 19:32:49 2014 +0200

    added interactives, added abort if cursors are on the same line

commit 12d01fe4db5109061533b0524d99177d1204eb85
Author: Patrick Seebauer <patrick.seebuaer@web.de>
Date:   Tue Sep 2 18:55:47 2014 +0200

    some adjustments

commit 9fddf98b6cd1bb68c334ab46fe1c9bcc08397796
Author: Patrick Seebauer <patrick.seebuaer@web.de>
Date:   Tue Sep 2 18:47:39 2014 +0200

    rough sketch
2014-09-05 18:36:04 +02:00
Magnar Sveen
f3daf86bd6 Merge pull request #157 from lexa/master
Added mc-hide-unmatched-lines-mode
2014-08-05 00:27:52 +02:00
lexa
4b0e91239e Added description of mc-hide-unmached-mode to Readme 2014-08-04 23:45:21 +04:00
lexa
bf9e8e95e0 Added testcase for mc-hide-unmatched-lines-mode 2014-08-04 23:45:21 +04:00
lexa
653d52352d Added mc-hide-unmatched-lines mode
This minor mode when enabled hides all lines where no cursors (and
also hum/lines-to-expand below and above) To make use of this mode
press "C-'" while multiple-cursor-mode is active. You can still
edit lines while you are in mc-hide-unmatched-lines mode. To leave
this mode press "<return>" or "C-g"
2014-08-04 23:45:14 +04:00
Magnar Sveen
38d6013d18 Merge pull request #156 from magnars/revert-152-master
Revert "Change file load timing"
2014-08-02 17:28:17 +02:00
Magnar Sveen
b3fd49c1d9 Revert "Change file load timing" 2014-08-02 17:27:01 +02:00
Magnar Sveen
98f2346f03 Merge pull request #152 from ShingoFukuyama/master
Change file load timing
2014-07-29 15:04:18 +02:00
Shingo Fukuyama
9f4502b7bc Change file load timing 2014-07-29 10:45:01 +09:00
Magnar Sveen
e94567c8e6 Add installation instructions 2014-06-30 19:23:39 +02:00
Magnar Sveen
4da58ea6dd Merge pull request #146 from bling/master
Add company-mode to the list of unsupported minor modes.
2014-05-27 12:59:22 +02:00
Bailey Ling
d184f353ef Add company-mode to the list of unsupported minor modes. 2014-05-03 16:38:51 +00:00
Magnar Sveen
084714791b Merge pull request #143 from mjdarby/jedi-mode
Adds jedi-mode to list of unsupported minor modes
2014-04-18 17:15:19 +02:00