diff --git a/crates/egui/src/text_selection/label_text_selection.rs b/crates/egui/src/text_selection/label_text_selection.rs index f0660de0459..c80b72023d9 100644 --- a/crates/egui/src/text_selection/label_text_selection.rs +++ b/crates/egui/src/text_selection/label_text_selection.rs @@ -618,8 +618,8 @@ fn process_selection_key_events( } fn selected_text(galley: &Galley, cursor_range: &CursorRange) -> String { - // This logic means we can select everything in an ellided label (including the `…`) - // and still copy the entire un-ellided text! + // This logic means we can select everything in an elided label (including the `…`) + // and still copy the entire un-elided text! let everything_is_selected = cursor_range.contains(&CursorRange::select_all(galley)); let copy_everything = cursor_range.is_empty() || everything_is_selected;