helix-mods/helix-term
Michael Davis c74b97447f
Fix range offsets for multiple shell insertions (#4619)
d6323b7cbc introduced a regression for
shell commands like `|`, `!`, and `<A-!>` which caused the new
selections to be incorrect. This caused a panic when piping (`|`)
would cause the new range to extend past the document end.

The paste version of this bug was fixed in
48a3965ab4.

This change also inherits the direction of the new range from the old
range and adds integration tests to ensure that the behavior isn't
broken in the future.
2022-11-14 09:45:52 +09:00
..
src Fix range offsets for multiple shell insertions (#4619) 2022-11-14 09:45:52 +09:00
tests Fix range offsets for multiple shell insertions (#4619) 2022-11-14 09:45:52 +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