mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2026-02-04 14:22:24 +00:00
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.
This commit is contained in:
@@ -73,6 +73,18 @@ Feature: Multiple cursors core
|
||||
And I type "!"
|
||||
Then I should see "This !text contains the word !text twice"
|
||||
|
||||
Scenario: Undo until mc mode will be disabled
|
||||
Given I have cursors at "text" in "This text contains the word text twice"
|
||||
And I should have 2 cursors
|
||||
When I press "C-g"
|
||||
And I should have 1 cursors
|
||||
And I press "C-_"
|
||||
And I should have 2 cursors
|
||||
And I press "C-_"
|
||||
And I should have 1 cursors
|
||||
And I type "!"
|
||||
Then I should see "This !text contains the word text twice"
|
||||
|
||||
Scenario: Setting and popping mark
|
||||
Given I have cursors at "text" in "This text contains the word text twice"
|
||||
And I press "C-SPC"
|
||||
|
||||
Reference in New Issue
Block a user