From d856f7b3a58fc65a81ff9657f5c6e1ab462b7bb6 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Wed, 31 Jul 2024 18:49:08 +0200 Subject: [PATCH] Fix typos --- crates/egui/src/text_selection/label_text_selection.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;