From 5f446d9aecae85e90e0902857192efd0b56c41b9 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 21 Feb 2013 18:44:17 +0100 Subject: [PATCH] try to merge selections when begining incremental insertion --- src/editor.cc | 1 + 1 file changed, 1 insertion(+) 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(); }