433 Commits

Author SHA1 Message Date
Jules Tamangan
8413969a97 Merge pull request #253 from jtamagnan/fake-bar-cursor
When cursor-type is bar, mc/cursors appear as bars
2016-06-16 17:04:58 -04:00
Jules Tamangan
2ccfc74bf4 Merge pull request #252 from bb2020/master
Add defcustom boolean `mc/always-run-for-all`. When non-nil every command will be run for every cursor
2016-06-09 16:11:55 -04:00
bb2020
d26cecd53a added always-run-for-all 2016-06-09 23:06:48 +03:00
bb2020
2329611a41 Merge remote-tracking branch 'upstream/master' 2016-06-09 22:45:19 +03:00
bb2020
fd847ae6e7 added mc/always-run-for-all 2016-06-09 22:41:51 +03:00
Jules Tamagnan
be149f9121 Create customizable mc/insert-numbers-default
This commit fulfills the feature request from #248 and creates a
customizable variable called mc/insert-numbers-default which is the
starting value for mc/insert-numbers if no arg is passed
2016-05-23 15:43:08 -04:00
Jules Tamagnan
3112e61824 When cursor-type is bar, mc/cursors appear as bars 2016-05-20 15:36:13 -04:00
Jules Tamagnan
a508978cd9 Add /.ecukes-failing-scenarios to gitignore 2016-05-20 08:58:06 -04:00
Jules Tamagnan
a9daac129a Add/fix docstring to functions. fix #161
functions documented added:
 - mc/mark-next-word-like-this,
 - mc/mark-next-symbol-like-this
 - mc/mark-previous-word-like-this
 - mc/mark-previous-symbol-like-this

functions documented fixed:
 - mc/mark-previous-like-this
2016-05-20 08:51:09 -04:00
Bozhidar Batsov
741eec6766 Update some copyright years 2016-05-19 20:29:36 -07:00
Bozhidar Batsov
be4fbc702e Mention MELPA Stable 2016-05-19 20:28:01 -07:00
Jules Tamagnan
b3bd49c756 Bump version to 1.4.0
The last version change was many years ago.
1.4.0
2016-05-19 16:41:48 -04:00
Magnar Sveen
fb0e71a62a Remove mention of marmalade
Closes #200
2016-05-19 11:09:48 +02:00
Magnar Sveen
432a3fc8d6 Merge pull request #250 from nispio/mark-lines-allows-skip
Modified mc/mark-lines to allow skipping
2016-05-13 12:16:00 +02:00
bb2020
1686630fd6 try to implement blacklist 2016-05-12 14:41:38 +03:00
Josh Hunsaker
9f4cdd0907 Modified mc/mark-lines to allow skipping 2016-04-29 12:22:07 -07:00
jtamagnan
6a62e60bf2 Fix issue #131 (#247)
* 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
2016-04-28 14:33:15 +12:00
Magnar Sveen
da069c88e5 Merge pull request #236 from jtamagnan/insert_letters_fix
Speedup mc--numbers-to-letters
2016-04-27 19:05:42 +02:00
Magnar Sveen
d5b544ef9c Merge pull request #246 from purcell/cl-lib
Use cl-lib instead of shimming, which breaks in older emacsen
2016-04-27 06:58:07 +02:00
Steve Purcell
4bf9860bcc Use cl-lib instead of shimming, which breaks in older emacsen
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.
2016-04-25 11:19:06 +12:00
Magnar Sveen
8297f1f210 Merge pull request #241 from YoungFrog/fix-#230
* mc-mark-more.el (mc/mark-all-in-region-regexp): Don't infloop when …
2016-03-04 15:59:52 +01:00
Nicolas Richard
06a2985db0 * mc-mark-more.el (mc/mark-all-in-region-regexp): Don't infloop when regexp matches empty string 2016-03-04 13:01:29 +01:00
Magnar Sveen
8ac4ad3e28 Update README.md 2016-03-03 06:59:47 +01:00
Magnar Sveen
e31b1eb59c Merge pull request #240 from ilohmar/toggle-click-improvements
Fix click-toggling and make it robust (address all PR #239 comments)
2016-03-03 06:57:23 +01:00
Ingo Lohmar
e17851efd3 Fix click-toggling and make it robust (address all PR #239 comments)
- use marker-position for cursor overlay's point
- new helper function finds fake cursor with its actual *point* where we
  want it
- this also eliminates any need for additional require statements
2016-03-02 21:28:45 +01:00
Magnar Sveen
4c52fb1e56 Merge pull request #239 from ilohmar/dwim-mouse-select
Extend mc/add-cursor-on-click to toggle fake cursors
2016-03-01 22:33:06 +01:00
Ingo Lohmar
40eb74e3e4 Extend mc/add-cursor-on-click to toggle fake cursors
- rename function accordingly and add alias
2016-03-01 20:31:47 +01:00
Magnar Sveen
54c05c3e24 Add more aliases for cl stuff
Issue #120
2016-02-29 06:49:59 +01:00
Magnar Sveen
68961b4cf3 Avoid requiring cl at runtime
Closes #120
2016-02-13 17:17:28 +01:00
Jules Tamagnan
55af65920b Speedup mc--numbers-to-letters 2016-01-28 18:01:47 -05:00
Magnar Sveen
a393384b35 Merge pull request #227 from jtamagnan/insert_letters
Add mc/insert-letters function and test cases
2015-12-05 21:25:04 +01:00
Magnar Sveen
415e29f1d1 Add @jtamagnan to contributors list 2015-12-05 00:30:49 +01:00
Magnar Sveen
dd07bc50ea Merge pull request #228 from jtamagnan/mark-next-like-this-word
Add alternative to mc/mark-next-like-this
2015-12-05 00:29:03 +01:00
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
Jules Tamagnan
ca822cd0d0 Add mc/insert-letters function and test cases
* 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.
2015-12-02 19:13:39 -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