helix-mirror/helix-term/tests/test
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
..
auto_indent.rs flush writes on force quit (#4397) 2022-10-21 13:28:29 +09:00
auto_pairs.rs flush writes on force quit (#4397) 2022-10-21 13:28:29 +09:00
commands.rs Fix range offsets in multi-selection paste (#4608) 2022-11-06 23:56:45 +09:00
helpers.rs Silence dead_code warning on AppBuilder::with_config 2022-10-21 08:43:15 +09:00
movement.rs flush writes on force quit (#4397) 2022-10-21 13:28:29 +09:00
prompt.rs flush writes on force quit (#4397) 2022-10-21 13:28:29 +09:00
splits.rs document should save even if formatter fails 2022-10-18 22:31:39 -04:00
write.rs flush writes on force quit (#4397) 2022-10-21 13:28:29 +09:00