This website requires JavaScript.
Explore
Help
Sign In
xenia
/
home
Watch
1
Star
0
Fork
0
You've already forked home
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
3150e9b3cd
home
/
test
/
regression
/
4779-crash-when-pasting-with-multiple-overlapping-selections
/
cmd
2 lines
8 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
x_y10+p
Reference in New Issue
Copy Permalink
Mastodon