Skip to content

Commit 703c4ce

Browse files
committed
project: upgrade AvaloniaEdit
Signed-off-by: leo <longshuang@msn.cn>
1 parent 43827a5 commit 703c4ce

2 files changed

Lines changed: 1 addition & 14 deletions

File tree

src/Views/CommitMessageToolBox.axaml.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -274,19 +274,6 @@ protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs chang
274274
}
275275
}
276276

277-
protected override void OnKeyDown(KeyEventArgs e)
278-
{
279-
// Supports Ctrl+Insert for copy. (Doubao uses Ctrl+Insert to detect selection)
280-
if (e.Key == Key.Insert && e.KeyModifiers == KeyModifiers.Control)
281-
{
282-
Copy();
283-
e.Handled = true;
284-
return;
285-
}
286-
287-
base.OnKeyDown(e);
288-
}
289-
290277
protected override void OnTextChanged(EventArgs e)
291278
{
292279
base.OnTextChanged(e);

0 commit comments

Comments
 (0)