Browse Source
Merge pull request #9619 from comesx4/Add-Ctrl+Insert-and-Shift+Insert
fix: Add more copy&paste hotkeys
pull/9629/head
Max Katz
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
2 deletions
-
src/Avalonia.Base/Input/Platform/PlatformHotkeyConfiguration.cs
|
|
|
@ -20,7 +20,8 @@ namespace Avalonia.Input.Platform |
|
|
|
WholeWordTextActionModifiers = wholeWordTextActionModifiers; |
|
|
|
Copy = new List<KeyGesture> |
|
|
|
{ |
|
|
|
new KeyGesture(Key.C, commandModifiers) |
|
|
|
new KeyGesture(Key.C, commandModifiers), |
|
|
|
new KeyGesture(Key.Insert, KeyModifiers.Control) |
|
|
|
}; |
|
|
|
Cut = new List<KeyGesture> |
|
|
|
{ |
|
|
|
@ -28,7 +29,8 @@ namespace Avalonia.Input.Platform |
|
|
|
}; |
|
|
|
Paste = new List<KeyGesture> |
|
|
|
{ |
|
|
|
new KeyGesture(Key.V, commandModifiers) |
|
|
|
new KeyGesture(Key.V, commandModifiers), |
|
|
|
new KeyGesture(Key.Insert, KeyModifiers.Shift) |
|
|
|
}; |
|
|
|
Undo = new List<KeyGesture> |
|
|
|
{ |
|
|
|
|