From f4572c640b9299f1d7333fb10b450798c16155be Mon Sep 17 00:00:00 2001 From: Nathan Baulch Date: Thu, 12 Jun 2025 09:19:34 +1000 Subject: [PATCH] code_style: whitespace cleanup --- .editorconfig | 2 +- src/Models/TextInlineChange.cs | 1 - src/Resources/Styles.axaml | 34 +++++++++---------- src/Resources/Themes.axaml | 2 +- src/ViewModels/Blame.cs | 4 +-- src/ViewModels/Histories.cs | 2 +- src/ViewModels/Repository.cs | 2 +- src/Views/About.axaml | 1 - src/Views/ApplyStash.axaml.cs | 1 - src/Views/Blame.axaml | 6 ++-- src/Views/BranchTree.axaml | 1 - src/Views/BranchTree.axaml.cs | 5 ++- src/Views/CommitBaseInfo.axaml | 6 ++-- src/Views/CommitMessageTextBox.axaml | 3 +- src/Views/ConfigureWorkspace.axaml | 6 ++-- src/Views/Conflict.axaml | 8 ++--- .../ConventionalCommitMessageBuilder.axaml | 4 +-- src/Views/DeleteMultipleBranches.axaml.cs | 1 - src/Views/FilterModeSwitchButton.axaml.cs | 2 -- src/Views/Histories.axaml | 2 +- src/Views/Hotkeys.axaml | 4 +-- src/Views/Launcher.axaml | 4 +-- src/Views/LauncherPageSwitcher.axaml | 2 +- src/Views/LauncherPageSwitcher.axaml.cs | 1 - src/Views/LauncherTabBar.axaml | 6 ++-- src/Views/MoveRepositoryNode.axaml.cs | 2 -- src/Views/NameHighlightedTextBlock.cs | 2 +- src/Views/Repository.axaml | 2 +- src/Views/RepositoryToolbar.axaml | 3 +- src/Views/RepositoryToolbar.axaml.cs | 1 - src/Views/RevisionFileContentViewer.axaml | 1 - src/Views/RevisionFileContentViewer.axaml.cs | 1 - src/Views/RevisionFiles.axaml | 2 +- src/Views/SelfUpdate.axaml.cs | 1 - src/Views/SubmodulesView.axaml | 2 +- src/Views/TagsView.axaml | 7 ++-- src/Views/TagsView.axaml.cs | 1 - src/Views/ViewLogs.axaml | 6 ++-- src/Views/Welcome.axaml | 2 +- src/Views/WelcomeToolbar.axaml | 1 - src/Views/WelcomeToolbar.axaml.cs | 1 - src/Views/WorkingCopy.axaml | 4 +-- src/Views/WorkspaceSwitcher.axaml | 3 +- src/Views/WorkspaceSwitcher.axaml.cs | 1 - 44 files changed, 65 insertions(+), 88 deletions(-) diff --git a/.editorconfig b/.editorconfig index 22c741b9..56725e7b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -100,7 +100,7 @@ dotnet_naming_symbols.private_internal_fields.applicable_kinds = field dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal dotnet_naming_style.camel_case_underscore_style.required_prefix = _ -dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case +dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case # use accessibility modifiers dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion diff --git a/src/Models/TextInlineChange.cs b/src/Models/TextInlineChange.cs index 46a5c1eb..15901d03 100644 --- a/src/Models/TextInlineChange.cs +++ b/src/Models/TextInlineChange.cs @@ -204,7 +204,6 @@ namespace SourceGit.Models for (int i = 0; i <= half; i++) { - for (int j = -i; j <= i; j += 2) { var idx = j + half; diff --git a/src/Resources/Styles.axaml b/src/Resources/Styles.axaml index 42d9dc3e..15704775 100644 --- a/src/Resources/Styles.axaml +++ b/src/Resources/Styles.axaml @@ -16,7 +16,7 @@ 12 - + @@ -38,7 +38,7 @@ - + @@ -206,7 +206,7 @@ - + - + - + - + - + @@ -737,7 +737,7 @@ - + @@ -956,7 +956,7 @@ - + - + - +