mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2026-02-04 14:22:24 +00:00
Never execute keyboard macros for fake cursors.
- 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
This commit is contained in:
@@ -119,6 +119,16 @@ Feature: Multiple cursors core
|
||||
And I type "!"
|
||||
Then I should see "This ! contains the word ! twice"
|
||||
|
||||
Scenario: wrap-region (function turns to keyboard macros)
|
||||
Given I turn on wrap-region-mode
|
||||
And I insert "This text contains the word text twice"
|
||||
And I go to the front of the word "text"
|
||||
And I press "C-M-SPC"
|
||||
And I press "C->"
|
||||
And I press "C-g"
|
||||
And I type "("
|
||||
Then I should see "This (text contains the word (text twice"
|
||||
|
||||
Scenario: Bound keyboard macros
|
||||
Given I have bound C-! to a keyboard macro that insert "_"
|
||||
And I have cursors at "text" in "This text contains the word text twice"
|
||||
|
||||
Reference in New Issue
Block a user