diff options
author | Michael Davis | 2022-11-06 14:56:45 +0000 |
---|---|---|
committer | GitHub | 2022-11-06 14:56:45 +0000 |
commit | 48a3965ab43718ce2a49724cbcc294b04c328b81 (patch) | |
tree | f20b4c26a8edc0d096bdd570df3c9cd1f3c0f172 /helix-term/src/keymap.rs | |
parent | 4ec2a21c6e21ab4e515f1bd7ee1049094af2a6b2 (diff) |
Fix range offsets in multi-selection paste (#4608)
* Fix range offsets in multi-selection paste
d6323b7cbc21a9d3ba29738c76581dad93f9f415 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
Diffstat (limited to 'helix-term/src/keymap.rs')
0 files changed, 0 insertions, 0 deletions