code_style: run dotnet format

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-02-07 12:06:29 +08:00
parent 9a36e652e6
commit 12597fd3e3
No known key found for this signature in database
7 changed files with 22 additions and 19 deletions

View file

@ -1,4 +1,3 @@
using System.Collections.Generic;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
@ -56,7 +55,7 @@ namespace SourceGit.Views
NotifyDonePanel.IsVisible = true;
e.Handled = true;
}
}
}
}
}

View file

@ -146,7 +146,8 @@ namespace SourceGit.Views
return;
}
if (e.Key == Key.Q) {
if (e.Key == Key.Q)
{
App.Quit(0);
e.Handled = true;
return;

View file

@ -1000,7 +1000,7 @@ namespace SourceGit.Views
builder.AppendLine(line.Content.Substring(selection.StartPosition.Column - 1));
continue;
}
if (i == endIdx && selection.EndPosition.Column < line.Content.Length)
{
builder.AppendLine(line.Content.Substring(0, selection.EndPosition.Column));