code-style: run dotnet format to compliance the editorconfig rules (#31)

This commit is contained in:
leo 2024-03-21 21:08:30 +08:00
parent 98a46f8211
commit a6103b8b31
4 changed files with 6 additions and 6 deletions

View file

@ -1,9 +1,9 @@
using System; using System;
using System.Collections; using System.Collections;
using System.Globalization;
using System.IO; using System.IO;
using System.Reflection; using System.Reflection;
using System.Text; using System.Text;
using System.Globalization;
using Avalonia; using Avalonia;
using Avalonia.Controls; using Avalonia.Controls;

View file

@ -95,4 +95,4 @@ namespace SourceGit.Converters
public static ToFontFamilyConverter ToFontFamily = new ToFontFamilyConverter(); public static ToFontFamilyConverter ToFontFamily = new ToFontFamilyConverter();
} }
} }

View file

@ -21,7 +21,7 @@ namespace SourceGit.Models
else else
{ {
return editor.InstallTextMate(new RegistryOptions(ThemeName.LightPlus)); return editor.InstallTextMate(new RegistryOptions(ThemeName.LightPlus));
} }
} }
public static void SetThemeByApp(TextMate.Installation installation) public static void SetThemeByApp(TextMate.Installation installation)
@ -58,4 +58,4 @@ namespace SourceGit.Models
GC.Collect(); GC.Collect();
} }
} }
} }

View file

@ -375,7 +375,7 @@ namespace SourceGit.Views
} }
private TextMate.Installation _textMate; private TextMate.Installation _textMate;
private LineStyleTransformer _lineStyleTransformer = null; private readonly LineStyleTransformer _lineStyleTransformer = null;
} }
public class SingleSideTextDiffPresenter : TextEditor public class SingleSideTextDiffPresenter : TextEditor
@ -780,7 +780,7 @@ namespace SourceGit.Views
} }
private TextMate.Installation _textMate; private TextMate.Installation _textMate;
private LineStyleTransformer _lineStyleTransformer = null; private readonly LineStyleTransformer _lineStyleTransformer = null;
private ScrollViewer _scrollViewer = null; private ScrollViewer _scrollViewer = null;
private bool _syncScrollingByOthers = false; private bool _syncScrollingByOthers = false;
} }