egui::text_selection::visuals

Function paint_text_selection

Source
pub fn paint_text_selection(
    galley: &mut Arc<Galley>,
    visuals: &Visuals,
    cursor_range: &CursorRange,
    new_vertex_indices: Option<&mut Vec<RowVertexIndices>>,
)
Expand description

Adds text selection rectangles to the galley.