helix/helix-view
Michael Davis 0c2cf39ce7
Registers: Store a bounded history of yanks
This doesn't fundamentally change `Registers` - it extends the
underlying storage of each regular `Register` (a sequence of `String`)
to support a history of yanked values by storing a limited set of past
yanks and tracking the length of each yank.

This commit also changes `Registers::write` to accept an IntoIterator of
the values. But otherwise this compiles with no changes necessary to
callers and no behavior changes visible from outside the module.

History is limited at 10 entries to set a rough bounds on memory usage.
2024-07-15 13:43:22 -04:00
..
src Registers: Store a bounded history of yanks 2024-07-15 13:43:22 -04:00
tests/encoding Move helix-view/tests/*txt files to txts subdirectory (#372) 2021-06-25 15:59:06 +09:00
Cargo.toml build(deps): bump the rust-dependencies group with 5 updates (#11113) 2024-07-09 19:40:22 +09:00