Browse Source

add more copy&paste hotkeys

pull/9619/head
zhouzj 4 years ago
parent
commit
8895fb660f
  1. 6
      src/Avalonia.Base/Input/Platform/PlatformHotkeyConfiguration.cs

6
src/Avalonia.Base/Input/Platform/PlatformHotkeyConfiguration.cs

@ -20,7 +20,8 @@ namespace Avalonia.Input.Platform
WholeWordTextActionModifiers = wholeWordTextActionModifiers; WholeWordTextActionModifiers = wholeWordTextActionModifiers;
Copy = new List<KeyGesture> Copy = new List<KeyGesture>
{ {
new KeyGesture(Key.C, commandModifiers) new KeyGesture(Key.C, commandModifiers),
new KeyGesture(Key.Insert, KeyModifiers.Control)
}; };
Cut = new List<KeyGesture> Cut = new List<KeyGesture>
{ {
@ -28,7 +29,8 @@ namespace Avalonia.Input.Platform
}; };
Paste = new List<KeyGesture> Paste = new List<KeyGesture>
{ {
new KeyGesture(Key.V, commandModifiers) new KeyGesture(Key.V, commandModifiers),
new KeyGesture(Key.Insert, KeyModifiers.Shift)
}; };
Undo = new List<KeyGesture> Undo = new List<KeyGesture>
{ {

Loading…
Cancel
Save