branch: elpa/multiple-cursors
commit 3f3cdc6c92ffa90c8667e5b35a54b9ae25574260
Merge: 9582c72 5190e0c
Author: Magnar Sveen <[email protected]>
Commit: Magnar Sveen <[email protected]>
Merge pull request #56 from paradoxxxzero/transient-mark-mode
Add transient-mark-mode to mc/cursor-specific-vars to fix other selections
than C-SPC.
---
features/mark-more.feature | 10 ++++++++++
multiple-cursors-core.el | 1 +
2 files changed, 11 insertions(+)
diff --git a/features/mark-more.feature b/features/mark-more.feature
index 8ca86f7..d8d1025 100644
--- a/features/mark-more.feature
+++ b/features/mark-more.feature
@@ -132,3 +132,13 @@ Feature: Marking multiple parts of the buffer
b_bb
c_cc
"""
+
+ Scenario: Multiple cursor with shift selection
+ When I insert "This text contains the word text twice"
+ And I go to the front of the word "text"
+ And I press "M-S-f"
+ And I press "C->"
+ And I press "C-f"
+ And I press "<deletechar>"
+ Then I should see "This text ontains the word text wice"
+
diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el
index 0069bcf..be66a69 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -120,6 +120,7 @@ highlights the entire width of the window."
(defvar mc/cursor-specific-vars '(autopair-action
autopair-wrap-action
+ transient-mark-mode
er/history)
"A list of vars that need to be tracked on a per-cursor basis.")