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.Collections;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Text;
using System.Globalization;
using Avalonia;
using Avalonia.Controls;

View file

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

View file

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

View file

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