mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-26 21:17:20 -08:00
Added 2 new buttons for prev/next change in Diff
These new buttons in DiffView toolbar are visible when IsTextDiff. They invoke new (and currently empty) methods PrevChange() / NextChange() in DiffContext.
This commit is contained in:
parent
875d4b5382
commit
fbb07cf75f
1 changed files with 10 additions and 0 deletions
|
@ -73,6 +73,16 @@ namespace SourceGit.ViewModels
|
||||||
LoadDiffContent();
|
LoadDiffContent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void PrevChange()
|
||||||
|
{
|
||||||
|
// To be implemented...
|
||||||
|
}
|
||||||
|
|
||||||
|
public void NextChange()
|
||||||
|
{
|
||||||
|
// To be implemented...
|
||||||
|
}
|
||||||
|
|
||||||
public void ToggleFullTextDiff()
|
public void ToggleFullTextDiff()
|
||||||
{
|
{
|
||||||
Preference.Instance.UseFullTextDiff = !Preference.Instance.UseFullTextDiff;
|
Preference.Instance.UseFullTextDiff = !Preference.Instance.UseFullTextDiff;
|
||||||
|
|
Loading…
Reference in a new issue