From 76f5bc2ccebb4c8b76ef81856c52da5b5e7c8960 Mon Sep 17 00:00:00 2001 From: PgBiel <9021226+PgBiel@users.noreply.github.com> Date: Sun, 10 Mar 2024 15:47:38 -0300 Subject: add SelectAll to TextEditor --- core/src/text/editor.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') diff --git a/core/src/text/editor.rs b/core/src/text/editor.rs index fbf60696..aea00921 100644 --- a/core/src/text/editor.rs +++ b/core/src/text/editor.rs @@ -70,6 +70,8 @@ pub enum Action { SelectWord, /// Select the line at the current cursor. SelectLine, + /// Select the entire buffer. + SelectAll, /// Perform an [`Edit`]. Edit(Edit), /// Click the [`Editor`] at the given [`Point`]. -- cgit