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,7 +842,8 @@ private:
kak_assert(false); // invalid for interactive insert
break;
}
selections.sort_and_merge_overlapping();
if (mode != InsertMode::Append)
selections.sort_and_merge_overlapping();
selections.check_invariant();
buffer.check_invariant();
}