Browse Source
Merge pull request #10142 from rabbitism/master
feat: SelectableTextBlock: add SelectAll hotkey support.
pull/10155/head
Benedikt Stebner
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
1 deletions
-
src/Avalonia.Controls/SelectableTextBlock.cs
|
|
|
@ -229,7 +229,11 @@ namespace Avalonia.Controls |
|
|
|
if (Match(keymap.Copy)) |
|
|
|
{ |
|
|
|
Copy(); |
|
|
|
|
|
|
|
handled = true; |
|
|
|
} |
|
|
|
else if (Match(keymap.SelectAll)) |
|
|
|
{ |
|
|
|
SelectAll(); |
|
|
|
handled = true; |
|
|
|
} |
|
|
|
|
|
|
|
|