helix-mods/helix-term/tests/test
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
..
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 for multiple shell insertions (#4619) 2022-11-14 09:45:52 +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