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.
helix-plus/helix-term/src
Szabin 70e4cdbd8e
Add command to merge non-consecutive ranges (#7053)
* Add command for merging non-consecutive ranges

* Add `merge_selections` command to book

* Simplify `merge_ranges`

Heeded the advice of @the-mikedavis to stop iterating over all ranges and simply merge the first and the last range, as the invariants of `Selection` guarantee that the list of ranges is always sorted and never empty.

* Clarify doc comment of `merge_ranges`
1 year ago
..
commands Some minor clarity/cosmetic improvements 1 year ago
keymap Add command to merge non-consecutive ranges (#7053) 1 year ago
ui Rebase cleanup/fixes and use lsp::CompletionItem in item_to_transaction directly 1 year ago
application.rs Add function `Editor::language_server_by_id` and refactor/simplify related code, also don't 'crash' in completion menu if language_server somehow disappeared 1 year ago
args.rs Fix confusion with using --hsplit --vsplit on startup at same time (#4202) 2 years ago
commands.rs Add command to merge non-consecutive ranges (#7053) 1 year ago
compositor.rs bump msrv to 1.63 (#5570) 1 year ago
config.rs add workspace config and manual LSP root management 1 year ago
health.rs Refactor doc language servers to a HashMap, and the config to use a Vec to retain order 1 year ago
job.rs bump msrv to 1.63 (#5570) 1 year ago
keymap.rs add workspace config and manual LSP root management 1 year ago
lib.rs Fix new clippy lints (#5892) 1 year ago
main.rs add workspace config and manual LSP root management 1 year ago