helix/book
Szabin 70e4cdbd8e
Add command to merge non-consecutive ranges ()
* 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`
2023-05-20 01:31:39 +02:00
..
src Add command to merge non-consecutive ranges () 2023-05-20 01:31:39 +02:00
theme book: Use per-theme syntax-highlighting CSS variables () 2023-01-21 13:24:40 -06:00
.gitignore Add book/ (mdbook based user guide) 2021-04-05 15:48:08 +09:00
book.toml chore(book): link repository () 2022-12-11 19:59:53 -06:00