From 499682c7b1c9f7ab6f57ecdf7dc7b49460781e21 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 24 Jun 2015 15:27:07 +1000 Subject: Make multiple selection work over most cursor movement and selection, new line, and word and line part deletion commands. --- src/Selection.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/Selection.cxx') diff --git a/src/Selection.cxx b/src/Selection.cxx index f4308b130..0a7c15c1a 100644 --- a/src/Selection.cxx +++ b/src/Selection.cxx @@ -311,6 +311,14 @@ void Selection::TrimSelection(SelectionRange range) { } } +void Selection::TrimOtherSelections(size_t r, SelectionRange range) { + for (size_t i = 0; i