aboutsummaryrefslogtreecommitdiff
path: root/examples/name/src/main.rs
diff options
context:
space:
mode:
authoralex-ds13 <145657253+alex-ds13@users.noreply.github.com>2025-11-25 18:43:51 +0000
committerPolesznyák Márk <contact@pml68.dev>2025-12-29 23:23:41 +0100
commit99ee469c86c8c187d874253ad8f0e3274cf97943 (patch)
tree30e27d835a2e942bfa1aa9365d121bec3084b704 /examples/name/src/main.rs
parentfix: outbounds selecting when inside a scrollable (diff)
downloadiced_selection-99ee469c86c8c187d874253ad8f0e3274cf97943.tar.gz
fix: select graphemes with multi codepoints properly
- We continue to use the graphemes index for the selection ends, however when calculating the selection rectangles we now check if the visual line had any glyph with `start` and `end` index bigger than 1 before or within the range and update the range accordingly. This way all the code that checks for word boundaries when selecting by words still functions properly.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions