1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-28 09:07:19 +03:00

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
break;
}
if (mode != InsertMode::Append)
selections.sort_and_merge_overlapping();
selections.check_invariant();
buffer.check_invariant();