From a4f6ea179a05d689dbbad7d4f13fe054ce964993 Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Wed, 30 Jan 2013 16:34:48 +0100 Subject: [PATCH 1/2] Add transient-mark-mode to mc/cursor-specific-vars to fix other selections than C-SPC. Fixes #55 --- multiple-cursors-core.el | 1 + 1 file changed, 1 insertion(+) 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.") From 5190e0cdc6fe67465871e752774ca825f42dad49 Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Fri, 1 Feb 2013 11:52:21 +0100 Subject: [PATCH 2/2] Add test case for shift-select-mode --- features/mark-more.feature | 10 ++++++++++ 1 file changed, 10 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 "" + Then I should see "This text ontains the word text wice" +