mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 15:10:34 +01:00
376e958569
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