It would be nice to retrieve the selected character range on a selectable label:
let label = ui.add(Label::new(&text).selectable(true));
if let Some(range) = label.selected_char_range() {
println!("Selected char range: {:?}", range);
}
label
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Describe alternatives you've considered
Additional context