mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
da2afe7353
These come from Kakoune: * '#' is the selection index register. It's read-only and produces the selection index numbers, 1-indexed. * '.' is the selection contents register. It is also read-only and mirrors the contents of the current selections when read. We switch the iterators returned from Selection's `fragments` and `slices` methods to ExactSizeIterators because: * The selection contents register can simply return the fragments iterator. * ExactSizeIterator is already implemented for iterators over Vecs, so it's essentially free. * The `len` method can be useful on its own. |
||
---|---|---|
.. | ||
src | ||
tests/encoding | ||
Cargo.toml |