ZIm/crates/rope/src
Piotr Osiewicz 64d0fec699
sum_tree: Store context on cursor (#34904)
This gets rid of the need to pass context to all cursor functions. In
practice context is always immutable when interacting with cursors.

A nicety of this is in the follow-up PR we will be able to implement
Iterator for all Cursors/filter cursors (hell, we may be able to get rid
of filter cursor altogether, as it is just a custom `filter` impl on
iterator trait).
Release Notes:

- N/A
2025-07-22 18:20:48 +02:00
..
chunk.rs chore: Fix warnings for Rust 1.89 (#32378) 2025-06-09 13:11:57 +02:00
offset_utf16.rs Finished refactoring out fs and rope 2022-10-11 15:25:54 -07:00
point.rs Rust 1.85 (#25272) 2025-02-28 18:33:35 +01:00
point_utf16.rs Rust 1.85 (#25272) 2025-02-28 18:33:35 +01:00
rope.rs sum_tree: Store context on cursor (#34904) 2025-07-22 18:20:48 +02:00
unclipped.rs Rework diff rendering to allow putting the cursor into deleted text, soft-wrapping and scrolling deleted text correctly (#22994) 2025-01-24 14:18:22 -07:00