Do not merge overlapping selection when entering append mode

Fixes #163
This commit is contained in:
Maxime Coste 2014-06-16 01:00:00 +01:00
parent 2acfe85281
commit e78fd2d235

View File

@ -842,6 +842,7 @@ private:
kak_assert(false); // invalid for interactive insert kak_assert(false); // invalid for interactive insert
break; break;
} }
if (mode != InsertMode::Append)
selections.sort_and_merge_overlapping(); selections.sort_and_merge_overlapping();
selections.check_invariant(); selections.check_invariant();
buffer.check_invariant(); buffer.check_invariant();