egui::text_selection::text_cursor_state

Function cursor_rect

Source
pub fn cursor_rect(
    galley_pos: Pos2,
    galley: &Galley,
    cursor: &Cursor,
    row_height: f32,
) -> Rect
Expand description

The thin rectangle of one end of the selection, e.g. the primary cursor.