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

Method SetFocusLine

DebugView++/LogView.cpp:1309–1313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1307}
1308
1309void CLogView::SetFocusLine(int line)
1310{
1311 auto it = std::upper_bound(m_logLines.begin(), m_logLines.end(), line, [](int line, const LogLine& logLine) { return line < logLine.line; });
1312 ScrollToIndex(it - m_logLines.begin() - 1, false);
1313}
1314
1315void CLogView::Add(int beginIndex, int line, const Message& msg)
1316{

Callers 1

OnChangeTabMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected