emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/multiple-cursors 25dd14d 219/434: Add more scenarios for m


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors 25dd14d 219/434: Add more scenarios for mark-all-*-like-this
Date: Sat, 7 Aug 2021 09:20:29 -0400 (EDT)

branch: elpa/multiple-cursors
commit 25dd14d3503a6f22c70eb80210a90199931dac61
Author: Takafumi Arakaki <aka.tkf@gmail.com>
Commit: Takafumi Arakaki <aka.tkf@gmail.com>

    Add more scenarios for mark-all-*-like-this
---
 features/mark-things.feature | 53 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 52 insertions(+), 1 deletion(-)

diff --git a/features/mark-things.feature b/features/mark-things.feature
index cfe880a..a3a0b02 100644
--- a/features/mark-things.feature
+++ b/features/mark-things.feature
@@ -1,6 +1,40 @@
 Feature: Mark things
 
-  Scenario: Mark symbols in defun with select
+  Scenario: Mark all symbols like this with select
+    Given I turn on emacs-lisp-mode
+    And I turn on delete-selection-mode
+    And I insert:
+    """
+    (defun abc (ghi) (message ghi))
+    (defun def (ghi) (message some-other-ghi))
+    """
+    When I select "ghi"
+    And I mark all symbols like this
+    And I type "hmm"
+    Then I should see:
+    """
+    (defun abc (hmm) (message hmm))
+    (defun def (hmm) (message some-other-ghi))
+    """
+
+  Scenario: Mark all words like this with select
+    Given I turn on emacs-lisp-mode
+    And I turn on delete-selection-mode
+    And I insert:
+    """
+    (defun abc (ghi) (message ghi))
+    (defun def (ghi) (message some-other-ghi))
+    """
+    When I select "ghi"
+    And I mark all words like this
+    And I type "hmm"
+    Then I should see:
+    """
+    (defun abc (hmm) (message hmm))
+    (defun def (hmm) (message some-other-hmm))
+    """
+
+  Scenario: Mark all symbols like this in defun with select
     Given I turn on emacs-lisp-mode
     And I turn on delete-selection-mode
     And I insert:
@@ -16,3 +50,20 @@ Feature: Mark things
     (defun abc (hmm) (message hmm))
     (defun def (ghi) (message some-other-ghi))
     """
+
+  Scenario: Mark all words like this in defun with select
+    Given I turn on emacs-lisp-mode
+    And I turn on delete-selection-mode
+    And I insert:
+    """
+    (defun abc (ghi) (message ghi))
+    (defun def (ghi) (message some-other-ghi))
+    """
+    When I select "ghi"
+    And I mark all words like this in defun
+    And I type "hmm"
+    Then I should see:
+    """
+    (defun abc (hmm) (message hmm))
+    (defun def (ghi) (message some-other-ghi))
+    """



reply via email to

[Prev in Thread] Current Thread [Next in Thread]