mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-27 08:34:11 +00:00
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 |
||
|---|---|---|
| .. | ||
| anchor.rs | ||
| locator.rs | ||
| network.rs | ||
| operation_queue.rs | ||
| patch.rs | ||
| selection.rs | ||
| subscription.rs | ||
| tests.rs | ||
| text.rs | ||
| undo_map.rs | ||