Undo after leaving mc mode will restore cursors as they was

This commit is contained in:
lexa
2014-10-26 12:32:19 +03:00
parent 66eefa2963
commit 19f842d60a
2 changed files with 48 additions and 0 deletions

View File

@@ -65,6 +65,14 @@ Feature: Multiple cursors core
And I type "!"
Then I should see "This text! contains the word text! twice"
Scenario: Undo mode
Given I have cursors at "text" in "This text contains the word text twice"
When I press "C-g"
And I press "M-f"
And I press "C-_"
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"