mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
feature: allow user to control whether or not to enable syntax highlighting in DiffView.
This commit is contained in:
parent
8fc25e312d
commit
635db8b3b3
9 changed files with 123 additions and 11 deletions
|
@ -114,6 +114,12 @@ namespace SourceGit.ViewModels
|
|||
set => SetProperty(ref _useSideBySideDiff, value);
|
||||
}
|
||||
|
||||
public bool UseSyntaxHighlighting
|
||||
{
|
||||
get => _useSyntaxHighlighting;
|
||||
set => SetProperty(ref _useSyntaxHighlighting, value);
|
||||
}
|
||||
|
||||
public Models.ChangeViewMode UnstagedChangeViewMode
|
||||
{
|
||||
get => _unstagedChangeViewMode;
|
||||
|
@ -351,6 +357,7 @@ namespace SourceGit.ViewModels
|
|||
private bool _useFixedTabWidth = true;
|
||||
private bool _useTwoColumnsLayoutInHistories = false;
|
||||
private bool _useSideBySideDiff = false;
|
||||
private bool _useSyntaxHighlighting = false;
|
||||
|
||||
private Models.ChangeViewMode _unstagedChangeViewMode = Models.ChangeViewMode.List;
|
||||
private Models.ChangeViewMode _stagedChangeViewMode = Models.ChangeViewMode.List;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue