This website requires JavaScript.
Explore
Help
Sign In
xenia
/
kakoune
Watch
1
Star
0
Fork
0
You've already forked kakoune
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
e0d33f51b3
kakoune
/
test
/
regression
/
4779-crash-when-pasting-with-multiple-overlapping-selections
/
in
2 lines
4 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fix pasting after when selections are overlapping With overlapping selections, pasting after breaks assumption of SelectionList::for_each as our changes are no longer happening in increasing locations. We hence cannot rely on the ForwardChangeTracker in that case and have to rely on the more general (and more costly) ranges update logic. This interacts poorly with paste linewise pastes and we try to preserve the current behaviour by tracking the last paste position. Overall, this change really begs for overlapping selections to be removed, but we will fix them like that for now. Fixes #4779
2022-11-28 10:27:44 +01:00
../
Reference in New Issue
Copy Permalink
Mastodon