Function egui::text_selection::text_cursor_state::find_line_start

source ยท
pub fn find_line_start(text: &str, current_index: CCursor) -> CCursor
Expand description

Accepts and returns character offset (NOT byte offset!).