helix-mirror/helix-term/tests/test
Pascal Kuthe f8225ed921 fix panic when deleting overlapping ranges
Some deletion operations (especially those that use indentation)
can generate overlapping deletion ranges when using multiple cursors.
To fix that problem a new `Transaction::delete` and
`Transaction:delete_by_selection` function were added. These functions
merge overlapping deletion ranges instead of generating an invalid
transaction. This merging of changes is only possible for deletions
and not for other changes and therefore require its own function.

The function has been used in all commands that currently delete
text by using `Transaction::change_by_selection`.
2023-05-18 15:20:55 +09:00
..
commands Conserve BOM and properly support UTF16 (#6497) 2023-05-01 00:40:06 +02:00
auto_indent.rs migrate test_with_config to use AppBuilder 2023-03-20 18:34:40 -05:00
auto_pairs.rs migrate test_with_config to use AppBuilder 2023-03-20 18:34:40 -05:00
commands.rs fix panic when deleting overlapping ranges 2023-05-18 15:20:55 +09:00
helpers.rs add workspace config and manual LSP root management 2023-03-29 12:57:30 +09:00
movement.rs Fix typos (#6643) 2023-04-07 23:10:38 +08:00
prompt.rs flush writes on force quit (#4397) 2022-10-21 13:28:29 +09:00
splits.rs Canonicalize paths before stripping current dir as prefix (#6290) 2023-03-30 11:21:40 -05:00