Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix off-by-one error in
PlainEditor::cursor_at
(#187)
I believe the cursor should still land at index `self.buffer.len()` (logically following the last cluster). E.g., in linebender/xilem#762, if used without this change, the selection can't span the last cluster using `cursor_at`.
- Loading branch information