* Fix issue #131
This issue would occur because the function was recieving a raw prefix
arg instead of a number. This commit fixes that.
* Fix issue with previous commit, add test cases
Aliasing built-in (cl) functions to cl-lib versions when they are
available in older Emacs versions can seemingly lead to problems
including infinite loops during byte compilation.
Since cl-lib works with all Emacs versions supported by
multiple-cursors, just depend on this directly instead.
This commit makes the necessary changes, both to code, documentation and
package metadata.
* 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.
* 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.
* README.md: Add to readme, under special section.
* features/insert-letters.feature: Add scenarios.
* features/step-definitions/multiple-cursors-steps.el: Add call.
* features/support/env.el: Add keybinding for insert-letters to H-3.
* mc-separate-operations.el: Add function and helper functions.
* multiple-cursors-core.el: Add insert-letters to functions that run once.
* multiple-cursors.el: Add to readme.
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
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
- 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
- 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