[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/multiple-cursors 53db250 237/434: Added a mark-pop.feature
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/multiple-cursors 53db250 237/434: Added a mark-pop.feature file. |
Date: |
Sat, 7 Aug 2021 09:20:33 -0400 (EDT) |
branch: elpa/multiple-cursors
commit 53db250b43f38e987414693765fce8ae4807b857
Author: Zach Kost-Smith <smithzv@ciabatta.(none)>
Commit: Zach Kost-Smith <zachkostsmith@gmail.com>
Added a mark-pop.feature file.
---
features/mark-pop.feature | 88 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 88 insertions(+)
diff --git a/features/mark-pop.feature b/features/mark-pop.feature
new file mode 100644
index 0000000..d25cb0a
--- /dev/null
+++ b/features/mark-pop.feature
@@ -0,0 +1,88 @@
+Feature: Popping cursors off of the mark stack
+
+ Scenario: Single pop
+ Given I turn off transient-mark-mode
+ And I insert:
+ """
+ hello
+ there
+ """
+ And I go to the front of the word "hello"
+ And I set the mark
+ And I go to the front of the word "there"
+ And I press "M-x mc/mark-pop"
+ Then I should have 2 cursors
+
+ Scenario: Multiple pops
+ Given I turn off transient-mark-mode
+ And I insert:
+ """
+ hello
+ there, my friend
+ """
+ And I go to the front of the word "hello"
+ And I set the mark
+ And I go to the front of the word "my"
+ And I set the mark
+ And I go to the front of the word "friend"
+ And I press "M-x mc/mark-pop"
+ And I press "M-x mc/mark-pop"
+ Then I should have 3 cursors
+
+ Scenario: Discard identical mark and point
+ Given I turn off transient-mark-mode
+ And I insert:
+ """
+ hello
+ there, my friend
+ """
+ And I go to the front of the word "hello"
+ And I set the mark
+ And I go to the front of the word "my"
+ And I set the mark
+ And I go to the front of the word "friend"
+ And I set the mark
+ And I press "M-x mc/mark-pop"
+ And I press "M-x mc/mark-pop"
+ Then I should have 3 cursors
+
+ Scenario: Changing the text
+ Given I turn off transient-mark-mode
+ And I insert:
+ """
+ hello
+ there, my friend
+ """
+ And I go to the front of the word "hello"
+ And I set the mark
+ And I go to the front of the word "my"
+ And I set the mark
+ And I go to the front of the word "friend"
+ And I press "M-x mc/mark-pop"
+ And I press "M-x mc/mark-pop"
+ And I type "!"
+ Then I should see:
+ """
+ !hello
+ there, !my !friend
+ """
+
+ Scenario: With transient-mark-mode
+ And I insert:
+ """
+ hello
+ there, my friend
+ """
+ And I go to the front of the word "hello"
+ And I press "C-@ C-@"
+ And I go to the front of the word "my"
+ And I press "C-@ C-@"
+ And I go to the front of the word "friend"
+ And I press "M-x mc/mark-pop"
+ And I press "M-x mc/mark-pop"
+ And I type "!"
+ Then I should see:
+ """
+ !hello
+ there, !my !friend
+ """
- [nongnu] elpa/multiple-cursors 059ee6b 109/434: Merge pull request #7 from Mon-Ouie/fix/macro-expansion, (continued)
- [nongnu] elpa/multiple-cursors 059ee6b 109/434: Merge pull request #7 from Mon-Ouie/fix/macro-expansion, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 35921b5 130/434: Clarify that you need to set up own keybindings, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 37a89a6 129/434: Remove mark-multiple-integration feature test, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors d7263f2 136/434: A more rubust way of finding the command currently being invoked., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors fe211c0 176/434: Add word/symbol limiting mark-more functions:, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors bc8af45 186/434: Use derived-mode-p to check for sgml-mode-ishness., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 1afbb93 175/434: Add mc/cycle-looping-behaviour to multiple-cursors custom group., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors ed18fa4 222/434: Merge pull request #62 from tkf/export-ECUKES_EMACS, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 424e066 198/434: 1.1.5, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 374244b 232/434: Add support for C-s and C-r when phi-search is installed, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 53db250 237/434: Added a mark-pop.feature file.,
ELPA Syncer <=
- [nongnu] elpa/multiple-cursors 69c9961 234/434: Use Carton for dev dependencies, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 75df47f 236/434: Added mention of mc/mark-pop to README.md, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 1cb894d 242/434: Add more mc-specific commands to the run-once list, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 47e03d5 249/434: Release 1.2.2, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 4a7fb32 059/434: Autotest, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors eda9952 058/434: Finally got the tests running. :-), ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 1d5b54e 070/434: Separate default cmd-lists and those populated by the end user., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 398cc9e 251/434: Merge pull request #92 from knu/mark_by_logical_lines, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors e8d7344 252/434: Fix the doc string of mc/mark-pop, which was not updated after a copy., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 45c6cd0 256/434: Add mc/mark-all-dwim, ELPA Syncer, 2021/08/07