mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-02 01:34:58 +00:00
enhance: remember the last state of Ignore Whitespace Change and EOF
in text diff view (#1198)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
cf763b47c6
commit
9ba0b595d9
3 changed files with 17 additions and 8 deletions
|
@ -212,6 +212,12 @@ namespace SourceGit.ViewModels
|
|||
set => SetProperty(ref _useSyntaxHighlighting, value);
|
||||
}
|
||||
|
||||
public bool IgnoreWhitespaceChangesInDiff
|
||||
{
|
||||
get => _ignoreWhitespaceChangesInDiff;
|
||||
set => SetProperty(ref _ignoreWhitespaceChangesInDiff, value);
|
||||
}
|
||||
|
||||
public bool EnableDiffViewWordWrap
|
||||
{
|
||||
get => _enableDiffViewWordWrap;
|
||||
|
@ -658,6 +664,7 @@ namespace SourceGit.ViewModels
|
|||
private bool _useTwoColumnsLayoutInHistories = false;
|
||||
private bool _displayTimeAsPeriodInHistories = false;
|
||||
private bool _useSideBySideDiff = false;
|
||||
private bool _ignoreWhitespaceChangesInDiff = false;
|
||||
private bool _useSyntaxHighlighting = false;
|
||||
private bool _enableDiffViewWordWrap = false;
|
||||
private bool _showHiddenSymbolsInDiffView = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue