MCPcopy Create free account
hub / github.com/WinMerge/winmerge / OnNextdiff

Method OnNextdiff

Src/WebPageDiffFrm.cpp:1246–1252  ·  view source on GitHub ↗

* @brief Go to next diff and select it. */

Source from the content-addressed store, hash-verified

1244 * @brief Go to next diff and select it.
1245 */
1246void CWebPageDiffFrame::OnNextdiff()
1247{
1248 if (m_pWebDiffWindow->GetCurrentDiffIndex() != m_pWebDiffWindow->GetDiffCount() - 1)
1249 m_pWebDiffWindow->NextDiff();
1250 else if (m_pDirDoc != nullptr)
1251 m_pDirDoc->MoveToNextDiff(this);
1252}
1253
1254/**
1255 * @brief Update "Next diff" UI items

Callers

nothing calls this directly

Calls 2

GetDiffCountMethod · 0.45
MoveToNextDiffMethod · 0.45

Tested by

no test coverage detected