mirror of https://github.com/helix-editor/helix
Fix range offsets in multi-selection paste (#4608)
* Fix range offsets in multi-selection paste
d6323b7cbc
introduced a regression with
multi-selection paste where pasting would not adjust the ranges
correctly. To fix it, we need to track the total number of characters
inserted in each changed selection and use that offset to slide each
new range forwards.
* Inherit selection directions on paste
* Add an integration-test for multi-selection pasting
pull/4601/head^2
parent
4ec2a21c6e
commit
48a3965ab4
Loading…
Reference in New Issue