mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-24 16:15:38 +03:00
8650c99f13
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
2 lines
1 B
Plaintext
2 lines
1 B
Plaintext
|