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/helix-core
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
..
src Add command to merge non-consecutive ranges (#7053) 1 year ago
tests automatically disable TS when parsing takes longer than 500ms 1 year ago
.gitignore Initial import. 5 years ago
Cargo.toml build(deps): bump etcetera from 0.7.1 to 0.8.0 (#6931) 2 years ago