Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fbb07cf

Browse files
committed
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.
1 parent 875d4b5 commit fbb07cf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎src/ViewModels/DiffContext.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,16 @@ public DiffContext(string repo, Models.DiffOption option, DiffContext previous =
7373
LoadDiffContent();
7474
}
7575

76+
public void PrevChange()
77+
{
78+
// To be implemented...
79+
}
80+
81+
public void NextChange()
82+
{
83+
// To be implemented...
84+
}
85+
7686
public void ToggleFullTextDiff()
7787
{
7888
Preference.Instance.UseFullTextDiff = !Preference.Instance.UseFullTextDiff;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /