mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
查找与替换完成
This commit is contained in:
@@ -104,5 +104,34 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
get; set;
|
||||
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Shift | e.Key == Key.G;
|
||||
|
||||
[Description("Search shortcut (CTRL+F by default)")]
|
||||
public Func<KeyEventArgs, bool> Search
|
||||
{
|
||||
get; set;
|
||||
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Control | e.Key == Key.F;
|
||||
|
||||
[Description("Search Down shortcut (F3 by default)")]
|
||||
public Func<KeyEventArgs, bool> SearchDown
|
||||
{
|
||||
get; set;
|
||||
} = e => e.Key == Key.F3;
|
||||
|
||||
[Description("Search Up shortcut (Shift+F3 by default)")]
|
||||
public Func<KeyEventArgs, bool> SearchUp
|
||||
{
|
||||
get; set;
|
||||
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Shift | e.Key == Key.F3;
|
||||
|
||||
[Description("Replace shortcut (Alt+R by default)")]
|
||||
public Func<KeyEventArgs, bool> Replace
|
||||
{
|
||||
get; set;
|
||||
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Alt | e.Key == Key.R;
|
||||
|
||||
[Description("Replace All shortcut (Alt+A by default)")]
|
||||
public Func<KeyEventArgs, bool> ReplaceAll
|
||||
{
|
||||
get; set;
|
||||
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Alt | e.Key == Key.A;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user