mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 21:03:05 +00:00
26 lines
761 B
Gherkin
26 lines
761 B
Gherkin
Feature: Mark multiple integration
|
|
In order to quickly and precisely get multiple cursors
|
|
As an Emacs user with mark-multiple
|
|
I want to mark multiple regions and then go to multiple-cursors-mode
|
|
|
|
Scenario: Two cursors
|
|
Given there is no region selected
|
|
When I insert "This text contains the word text twice"
|
|
And I select "text"
|
|
And I press "C->"
|
|
And I press "C-g"
|
|
Then I should have 2 cursors
|
|
|
|
Scenario: Three cursors
|
|
Given there is no region selected
|
|
When I insert:
|
|
"""
|
|
This text contains the word text thrice, and
|
|
one of the instances of the word text is on the second line.
|
|
"""
|
|
And I select "text"
|
|
And I press "C->"
|
|
And I press "C->"
|
|
And I press "C-g"
|
|
Then I should have 3 cursors
|