mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-21 05:10:25 +08:00
Submodule depends/AvaloniaEdit updated: 87e83c5c0e...97f7732540
@@ -6,7 +6,6 @@ using System.IO;
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Controls.Primitives;
|
||||
using Avalonia.Input;
|
||||
using Avalonia.Interactivity;
|
||||
using Avalonia.Layout;
|
||||
using Avalonia.Media;
|
||||
@@ -274,19 +273,6 @@ namespace SourceGit.Views
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnKeyDown(KeyEventArgs e)
|
||||
{
|
||||
// Supports Ctrl+Insert for copy. (Doubao uses Ctrl+Insert to detect selection)
|
||||
if (e.Key == Key.Insert && e.KeyModifiers == KeyModifiers.Control)
|
||||
{
|
||||
Copy();
|
||||
e.Handled = true;
|
||||
return;
|
||||
}
|
||||
|
||||
base.OnKeyDown(e);
|
||||
}
|
||||
|
||||
protected override void OnTextChanged(EventArgs e)
|
||||
{
|
||||
base.OnTextChanged(e);
|
||||
|
||||
Reference in New Issue
Block a user