[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/multiple-cursors 2d639b0 284/434: Added tests for new mc/e
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/multiple-cursors 2d639b0 284/434: Added tests for new mc/edit-lines |
Date: |
Sat, 7 Aug 2021 09:20:43 -0400 (EDT) |
branch: elpa/multiple-cursors
commit 2d639b0f454a84769d1cc333abffeaf56d23e56f
Author: Ivan Andrus <darthandrus@gmail.com>
Commit: Ivan Andrus <darthandrus@gmail.com>
Added tests for new mc/edit-lines
---
features/edit-lines.feature | 83 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 83 insertions(+)
diff --git a/features/edit-lines.feature b/features/edit-lines.feature
index 814f784..080eaee 100644
--- a/features/edit-lines.feature
+++ b/features/edit-lines.feature
@@ -55,3 +55,86 @@ Feature: Switching from a multiline region to multiple
cursors
And I go to the front of the word "there"
And I press "C-S-c C-S-c"
Then I should have 2 cursors
+
+ Scenario: Edit default short lines
+ When I insert:
+ """
+ hello
+
+ there
+ """
+ And I go to the end of the word "hello"
+ And I set the mark
+ And I go to the end of the word "there"
+ And I press "C-S-c C-S-c"
+ And I press "you"
+ Then I should see:
+ """
+ helloyou
+ you
+ thereyou
+ """
+
+ Scenario: Pad short lines
+ When I insert:
+ """
+ hello
+
+ there
+ """
+ And I go to the end of the word "hello"
+ And I set the mark
+ And I go to the end of the word "there"
+ And I press "M-1 C-S-c C-S-c"
+ Then I should have 3 cursors
+
+ Scenario: Edit padding short lines
+ When I insert:
+ """
+ hello
+
+ there
+ """
+ And I go to the end of the word "hello"
+ And I set the mark
+ And I go to the end of the word "there"
+ And I press "M-1 C-S-c C-S-c"
+ And I press "you"
+ Then I should see:
+ """
+ helloyou
+ you
+ thereyou
+ """
+
+ Scenario: Skip short lines
+ When I insert:
+ """
+ hello
+
+ there
+ """
+ And I go to the end of the word "hello"
+ And I set the mark
+ And I go to the end of the word "there"
+ And I press "M-- M-1 C-S-c C-S-c"
+ Then I should have 2 cursors
+
+ Scenario: Edit skipping short lines
+ When I insert:
+ """
+ hello
+
+ there
+ """
+ And I go to the end of the word "hello"
+ And I set the mark
+ And I go to the end of the word "there"
+ And I press "M-- M-1 C-S-c C-S-c"
+ And I press "you"
+ Then I should see:
+ """
+ helloyou
+
+ thereyou
+ """
- [nongnu] elpa/multiple-cursors 142fdd6 337/434: Use locate-user-emacs-file to find directory for .mc-lists.el, (continued)
- [nongnu] elpa/multiple-cursors 142fdd6 337/434: Use locate-user-emacs-file to find directory for .mc-lists.el, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 2588cce 338/434: Revert "Support unmarking with no region. Change mc/mark-lines to preserve point.", ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 2e904a0 342/434: Add safety ceiling to cursor count at creation, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 9a5c9cd 005/434: Refactored setup of unsupported commands., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 6cac5f4 018/434: Even more white-listing., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors f2da52a 085/434: Update readme with new testing info., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 8bc7916 094/434: Updated README., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 3e31cc6 101/434: Merge pull request #5 from milkypostman/master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors f2add1d 107/434: Suggest C-c C-< instead of the often used M-<, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 810636b 120/434: Avoid smooth-scroll issues with multiple cursors, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 2d639b0 284/434: Added tests for new mc/edit-lines,
ELPA Syncer <=
- [nongnu] elpa/multiple-cursors 38e590c 292/434: Fix cycle-cursor behavior., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors adf86bd 320/434: Add @lexa to list of contributors, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors ff0ac1f 322/434: Add function to disable mc undo into undo-list., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 952877f 324/434: Revert undo-feature for multiple-cursors, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 72b4bf3 329/434: Enable to specify search word in mc/mark-all-in-region, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 97f7b1d 332/434: Merge pull request #197 from kissge/user-emacs-directory, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 533e157 335/434: Merge pull request #160 from P-Seebauer/master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors ccdc025 079/434: Run prefix argument commands just once., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors df5f83a 082/434: Add more common commands to run only once., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 576bf90 087/434: mc version of mark-previous-like-this, ELPA Syncer, 2021/08/07