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

Method ClearLog

DebugView++/MainFrame.cpp:1054–1067  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1052}
1053
1054void CMainFrame::ClearLog()
1055{
1056 // First Clear LogFile so views reset their m_firstLine:
1057 m_logFile.Clear();
1058 m_logSources.Reset();
1059 int views = GetViewCount();
1060 for (int i = 0; i < views; ++i)
1061 {
1062 GetView(i).Clear();
1063 SetModifiedMark(i, false);
1064 GetTabCtrl().UpdateLayout();
1065 GetTabCtrl().Invalidate();
1066 }
1067}
1068
1069void CMainFrame::OnLogClear(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/)
1070{

Callers

nothing calls this directly

Calls 3

UpdateLayoutMethod · 0.80
ClearMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected