aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Selection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Selection.cxx')
-rw-r--r--src/Selection.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Selection.cxx b/src/Selection.cxx
index 6f3267dfa..48add617c 100644
--- a/src/Selection.cxx
+++ b/src/Selection.cxx
@@ -291,6 +291,11 @@ void Selection::AddSelection(SelectionRange range) {
mainRange = ranges.size() - 1;
}
+void Selection::AddSelectionWithoutTrim(SelectionRange range) {
+ ranges.push_back(range);
+ mainRange = ranges.size() - 1;
+}
+
void Selection::TentativeSelection(SelectionRange range) {
if (!tentativeMain) {
rangesSaved = ranges;