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

Method SetSelection

Src/MergeEditView.cpp:4424–4435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4422}
4423
4424void CMergeEditView::SetSelection(const CEPoint& ptStart, const CEPoint& ptEnd, bool bUpdateView)
4425{
4426 CEPoint ptStartNew = ptStart;
4427 CEPoint ptEndNew = ptEnd;
4428 if (m_bDetailView)
4429 {
4430 // ensure we remain in diff
4431 EnsureInDiff(ptStartNew);
4432 EnsureInDiff(ptEndNew);
4433 }
4434 CCrystalTextView::SetSelection(ptStartNew, ptEndNew, bUpdateView);
4435}
4436
4437void CMergeEditView::ScrollToSubLine(int nNewTopLine, bool bNoSmoothScroll /*= FALSE*/, bool bTrackScrollBar /*= TRUE*/)
4438{

Callers 5

ShowDiffMethod · 0.80
OnChangePaneMethod · 0.80
GotoLineMethod · 0.80
SpellNotifyMethod · 0.80
OnCancelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected