From fbb07cf75f73cf06453abdfb13451378efe46656 Mon Sep 17 00:00:00 2001 From: goran-w Date: Mon, 4 Nov 2024 10:24:44 +0100 Subject: [PATCH] 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. --- src/ViewModels/DiffContext.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/ViewModels/DiffContext.cs b/src/ViewModels/DiffContext.cs index 87b1a6de..e9bb703d 100644 --- a/src/ViewModels/DiffContext.cs +++ b/src/ViewModels/DiffContext.cs @@ -73,6 +73,16 @@ namespace SourceGit.ViewModels LoadDiffContent(); } + public void PrevChange() + { + // To be implemented... + } + + public void NextChange() + { + // To be implemented... + } + public void ToggleFullTextDiff() { Preference.Instance.UseFullTextDiff = !Preference.Instance.UseFullTextDiff;