summaryrefslogtreecommitdiff
path: root/src/editor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.cc')
-rw-r--r--src/editor.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/editor.cc b/src/editor.cc
index d04c1305..34900ab1 100644
--- a/src/editor.cc
+++ b/src/editor.cc
@@ -470,6 +470,7 @@ IncrementalInserter::IncrementalInserter(Editor& editor, InsertMode mode)
}
}
}
+ sort_and_merge_overlapping(editor.m_selections);
editor.check_invariant();
}