branch: elpa/multiple-cursors
commit 80ebdbb35b3c304a1297239fcbbc74eee2938bd2
Author: Marco Baringer <[email protected]>
Commit: Marco Baringer <[email protected]>

    Added test for mc/mark-(next|previous)-like-this when there is no active 
region.
---
 features/mark-more.feature | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/features/mark-more.feature b/features/mark-more.feature
index 189b22c..c8cd3ff 100644
--- a/features/mark-more.feature
+++ b/features/mark-more.feature
@@ -94,3 +94,22 @@ Feature: Marking multiple parts of the buffer
     And I type "more"
     Then I should have 2 cursors
     And I should see "Here's more, more and text"
+
+  Scenario: Marking without an active region
+    When I insert:
+    """
+    aaa
+    bbb
+    ccc
+    """
+    And I go to the front of the word "bbb"
+    And I press "C->"
+    And I type "_"
+    Then I should have 2 cursors
+    And I should see:
+    """
+    aaa
+    _bbb
+    _ccc
+    """
+

Reply via email to