egui/crates
MStarha 69b9f0eede
Rework `TextEdit` arrow navigation to handle Unicode graphemes (#5812)
* [x] I have followed the instructions in the PR template

Previously, navigating text in `TextEdit` with Ctrl + left/right arrow
would jump inside words that contained combining characters (i.e.
diacritics). This PR introduces new dependency of `unicode-segmentation`
to handle grapheme encoding. The new implementation ignores whitespace
and other separators such as `-` (dash) between words, but respects `_`
(underscore).

---------

Co-authored-by: lucasmerlin <hi@lucasmerlin.me>
2025-04-22 17:44:10 +02:00
..
ecolor Add assert messages and print bad argument values in asserts (#5216) 2025-03-25 09:20:29 +01:00
eframe Revert "Add `OutputCommand::SetPointerPosition` to set mouse position" (#5867) 2025-04-22 11:52:20 +02:00
egui Rework `TextEdit` arrow navigation to handle Unicode graphemes (#5812) 2025-04-22 17:44:10 +02:00
egui-wgpu Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00
egui-winit Revert "Add `OutputCommand::SetPointerPosition` to set mouse position" (#5867) 2025-04-22 11:52:20 +02:00
egui_demo_app Make text underline and strikethrough pixel perfect crisp (#5857) 2025-03-28 20:37:38 +01:00
egui_demo_lib Revert "Add `OutputCommand::SetPointerPosition` to set mouse position" (#5867) 2025-04-22 11:52:20 +02:00
egui_extras Support SVG Text Rendering in egui_extras (#5979) 2025-04-14 11:13:17 +02:00
egui_glow Add assert messages and print bad argument values in asserts (#5216) 2025-03-25 09:20:29 +01:00
egui_kittest Add tests for layout and visuals of most egui widgets (#6752) 2025-04-16 18:58:58 +02:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Optimize editing long text by caching each paragraph (#5411) 2025-04-01 18:55:39 +02:00
epaint Optimize editing long text by caching each paragraph (#5411) 2025-04-01 18:55:39 +02:00
epaint_default_fonts Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00