egui::text_selection::visuals

Function paint_text_cursor

Source
pub fn paint_text_cursor(
    ui: &Ui,
    painter: &Painter,
    primary_cursor_rect: Rect,
    time_since_last_edit: f64,
)
Expand description

Paint one end of the selection, e.g. the primary cursor, with blinking (if enabled).