Function egui::widgets::text_edit::builder::check_for_mutating_key_press

source ยท
fn check_for_mutating_key_press(
    os: OperatingSystem,
    cursor_range: &CursorRange,
    text: &mut dyn TextBuffer,
    galley: &Galley,
    modifiers: &Modifiers,
    key: Key,
) -> Option<CCursorRange>
Expand description

Returns Some(new_cursor) if we did mutate text.