Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #227 from jtamagnan/insert_letters
Add mc/insert-letters function and test cases
- Loading branch information
Showing
7 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Feature: Insert increasing letters | ||
|
||
Scenario: Three cursors, a-b-c | ||
Given I have cursors at "text" in "This text contains the word text thrice (text)" | ||
When I press "H-3" | ||
And I press "SPC" | ||
Then I should see "This a text contains the word b text thrice (c text)" | ||
|
||
Scenario: Three cursors, j-k-l | ||
Given I have cursors at "text" in "This text contains the word text thrice (text)" | ||
When I press "C-9 H-3" | ||
And I press "SPC" | ||
Then I should see "This j text contains the word k text thrice (l text)" | ||
|
||
Scenario: Three cursors, z-aa-ab | ||
Given I have cursors at "text" in "This text contains the word text thrice (text)" | ||
When I press "C-u 2 5 H-3" | ||
And I press "SPC" | ||
Then I should see "This z text contains the word aa text thrice (ab text)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters