helix/helix-core
Michael Davis da2afe7353 Add '#' and '.' special registers
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.
2023-07-31 15:05:38 +09:00
..
src Add '#' and '.' special registers 2023-07-31 15:05:38 +09:00
tests Prefer RopeSlice to &Rope in helix_core::syntax 2023-07-27 11:50:19 +09:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
Cargo.toml pin TS to unreleased git revision to fix freezes (#7737) 2023-07-27 11:50:40 +09:00