aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/chars.rs
diff options
context:
space:
mode:
authorMichael Davis2022-11-06 14:56:45 +0000
committerGitHub2022-11-06 14:56:45 +0000
commit48a3965ab43718ce2a49724cbcc294b04c328b81 (patch)
treef20b4c26a8edc0d096bdd570df3c9cd1f3c0f172 /helix-core/src/chars.rs
parent4ec2a21c6e21ab4e515f1bd7ee1049094af2a6b2 (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-core/src/chars.rs')
0 files changed, 0 insertions, 0 deletions