fn on_key_press(
    cursor_range: &mut CursorRange,
    text: &mut dyn TextBuffer,
    galley: &Galley,
    key: Key,
    modifiers: &Modifiers
) -> Option<CCursorRange>
Expand description

Returns Some(new_cursor) if we did mutate text.