From 2fd90b9a9264aaaeb070508323e25e2b8fbd07fe Mon Sep 17 00:00:00 2001 From: Andreas Arvidsson Date: Wed, 1 Dec 2021 02:05:40 +0100 Subject: [PATCH 1/2] Added action remove selection --- src/actions/actions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/actions/actions.py b/src/actions/actions.py index 34ea9170..77a0ce15 100644 --- a/src/actions/actions.py +++ b/src/actions/actions.py @@ -77,6 +77,7 @@ class CallbackAction: "extract": "extractVariable", "float": "insertEmptyLineAfter", "fold": "foldRegion", + "give": "removeSelection", "indent": "indentLine", "paste to": "pasteFromClipboard", "post": "setSelectionAfter", From 56d0f174a2fb333b6a8147a7442fc41a9c8a51c2 Mon Sep 17 00:00:00 2001 From: Andreas Arvidsson Date: Wed, 1 Dec 2021 09:35:41 +0100 Subject: [PATCH 2/2] Renamed remove selection to deselect --- src/actions/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/actions.py b/src/actions/actions.py index 77a0ce15..3f97e6d7 100644 --- a/src/actions/actions.py +++ b/src/actions/actions.py @@ -77,7 +77,7 @@ class CallbackAction: "extract": "extractVariable", "float": "insertEmptyLineAfter", "fold": "foldRegion", - "give": "removeSelection", + "give": "deselect", "indent": "indentLine", "paste to": "pasteFromClipboard", "post": "setSelectionAfter",