mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 13:51:13 +00:00
![]() The cursor navigation left/right (and subsequently text selection) needs to respect grapheme boundaries. Since we already depend on the unicode-segmentation crate through femtovg, we might as well use the functionality for determining grapheme boundaries from there. The only place where the cursor navigation is allowed to break that is when using backspace, as that allows the user to break glyph clusters. |
||
---|---|---|
.. | ||
image.rs | ||
text.rs |