zed/crates/text/src
Jordi Villar 376e958569
Fix inverted char boundary check causing invalid offsets (#47112)
The logic in `anchor_at_offset` and `to_offset` seems inverted when
checking character boundaries. `assert_char_boundary` returns `true`
when the offset IS valid, but the code was adjusting offsets when the
function returned `true` (valid) instead of `false` (invalid).

Release Notes:

- N/A
2026-01-19 09:08:45 +01:00
..
anchor.rs Add experimental LSP-based context retrieval system for edit prediction (#44036) 2025-12-04 12:48:39 -08:00
locator.rs
network.rs
operation_queue.rs clock: Cleanup ReplicaId, Lamport and Global (#40600) 2025-10-20 13:26:20 +02:00
patch.rs editor: Newtype WrapRow (#41843) 2025-11-04 08:48:38 +00:00
selection.rs multi_buffer: Typed MultiBufferOffset (#42707) 2025-11-19 22:00:58 +00:00
subscription.rs multi_buffer: Typed MultiBufferOffset (#42707) 2025-11-19 22:00:58 +00:00
tests.rs Revert "sum_tree: Replace rayon with futures (#41586) (#41846) 2025-11-03 19:25:15 +00:00
text.rs Fix inverted char boundary check causing invalid offsets (#47112) 2026-01-19 09:08:45 +01:00
undo_map.rs clock: Cleanup ReplicaId, Lamport and Global (#40600) 2025-10-20 13:26:20 +02:00