MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / EndUpdate

Method EndUpdate

DebugView++/LogView.cpp:1361–1386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1359}
1360
1361bool CLogView::EndUpdate()
1362{
1363 if (m_dirty)
1364 {
1365 SetItemCountEx(m_logLines.size(), LVSICF_NOSCROLL);
1366 if (m_autoScrollDown)
1367 ScrollDown();
1368
1369 m_dirty = false;
1370 }
1371
1372 if (m_stop)
1373 {
1374 m_stop();
1375 m_stop = nullptr;
1376 }
1377 if (m_track)
1378 {
1379 if (m_track())
1380 {
1381 // nolonger track item after it has correctly centered
1382 StopTracking();
1383 }
1384 }
1385 return m_changed;
1386}
1387
1388void CLogView::StopTracking()
1389{

Callers 1

ProcessLinesMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected