mirror of https://github.com/helix-editor/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
f8225ed921
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`. |
2 years ago | |
---|---|---|
.. | ||
commands | 2 years ago | |
keymap | 2 years ago | |
ui | 2 years ago | |
application.rs | 2 years ago | |
args.rs | 2 years ago | |
commands.rs | 2 years ago | |
compositor.rs | 2 years ago | |
config.rs | 2 years ago | |
health.rs | 2 years ago | |
job.rs | 2 years ago | |
keymap.rs | 2 years ago | |
lib.rs | 2 years ago | |
main.rs | 2 years ago |