diff --git a/crates/egui/src/widgets/text_edit/builder.rs b/crates/egui/src/widgets/text_edit/builder.rs index 2559180d1b6..f33ae0afc1d 100644 --- a/crates/egui/src/widgets/text_edit/builder.rs +++ b/crates/egui/src/widgets/text_edit/builder.rs @@ -832,7 +832,7 @@ fn events( true => ime_enabled_filter_events(input_events), false => input_events, }; - let events = ime_first_events(filter_events); + let events = ime_front_events(filter_events); for event in &events { let did_mutate_text = match event { @@ -1049,7 +1049,7 @@ fn ime_enabled_filter_events(events: Vec) -> Vec { filter_events } -fn ime_first_events(events: Vec) -> Vec { +fn ime_front_events(events: Vec) -> Vec { let mut ime_first_events: Vec = Vec::new(); let mut other_events: Vec = Vec::new();