MCPcopy Create free account
hub / github.com/KDE/kdevelop / receivedStderr

Method receivedStderr

plugins/debuggercommon/widgets/debuggerconsoleview.cpp:345–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345void DebuggerConsoleView::receivedStderr(const QString& line)
346{
347 QString colored = toHtmlEscaped(line);
348 colorify(colored, m_errorColor);
349
350 // Errors are shown inside user commands too.
351 m_allOutput.append(colored);
352 trimList(m_allOutput, m_maxLines);
353
354 m_userOutput.append(colored);
355 trimList(m_userOutput, m_maxLines);
356
357 appendLine(colored);
358}
359
360void DebuggerConsoleView::trimList(QStringList& l, int max_size)
361{

Callers

nothing calls this directly

Calls 2

colorifyFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected