add SelectAll to TextEditor

This commit is contained in:
PgBiel 2024-03-10 15:47:38 -03:00 committed by Héctor Ramón Jiménez
parent 23d9497e7f
commit 76f5bc2cce
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 28 additions and 0 deletions

View file

@ -762,6 +762,11 @@ impl Update {
{
return Some(Self::Paste);
}
keyboard::Key::Character("a")
if modifiers.command() =>
{
return Some(Self::Action(Action::SelectAll));
}
_ => {}
}