1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-11 01:37:41 +03:00
kakoune/test/regression/1504-assertion-on-incorrect-pipe-use
Maxime Coste 8650c99f13 Fix assertion when replacing with empty strings
Replacing with empty strings is essentially a deletion, which means
it can end up push some selections out of the buffer (imagine 3 a
2 empty line buffer, and deleting the second one). We are fixing
the selections in SelectionList::erase, but we were not doing that
in SelectionList::insert.

Fixes #1504
2017-07-14 13:08:29 +09:00
..
cmd Fix assertion when replacing with empty strings 2017-07-14 13:08:29 +09:00
in Fix assertion when replacing with empty strings 2017-07-14 13:08:29 +09:00
out Fix assertion when replacing with empty strings 2017-07-14 13:08:29 +09:00