diff --git a/crates/egui/src/widgets/text_edit/builder.rs b/crates/egui/src/widgets/text_edit/builder.rs index bc4f768a..97737116 100644 --- a/crates/egui/src/widgets/text_edit/builder.rs +++ b/crates/egui/src/widgets/text_edit/builder.rs @@ -919,6 +919,10 @@ fn events( modifiers, } => on_key_press(&mut cursor_range, text, galley, *key, modifiers), + Event::KeyRepeat { key, modifiers } => { + on_key_press(&mut cursor_range, text, galley, *key, modifiers) + } + Event::CompositionStart => { state.has_ime = true; None