helix-mods/helix-term
Michael Davis 48a3965ab4
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
2022-11-06 23:56:45 +09:00
..
src Fix range offsets in multi-selection paste (#4608) 2022-11-06 23:56:45 +09:00
tests Fix range offsets in multi-selection paste (#4608) 2022-11-06 23:56:45 +09:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs Resolve a bunch of upcoming clippy lints 2022-11-04 21:06:28 +09:00
Cargo.toml build(deps): bump once_cell from 1.15.0 to 1.16.0 (#4548) 2022-10-31 19:31:08 -05:00