From 94e3412365b723d5f1d8db389e39f697bc89a1ce Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 23 Oct 2018 16:25:29 +0200 Subject: [PATCH] Give the user a hint as to how increase the output window limit ... if we have to cut off the output because the maximum amount of characters was reached. Change-Id: I764c0a3ac555f30d5bce5f3a1b709eec5d2ae94b Reviewed-by: Eike Ziller --- src/plugins/coreplugin/outputwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/outputwindow.cpp b/src/plugins/coreplugin/outputwindow.cpp index 6b2039c521e..90b06ba39f7 100644 --- a/src/plugins/coreplugin/outputwindow.cpp +++ b/src/plugins/coreplugin/outputwindow.cpp @@ -374,7 +374,9 @@ void OutputWindow::appendText(const QString &textIn, const QTextCharFormat &form if (d->maxCharCount > 0 && document()->characterCount() >= d->maxCharCount) { QTextCharFormat tmp; tmp.setFontWeight(QFont::Bold); - d->cursor.insertText(doNewlineEnforcement(tr("Additional output omitted") + QLatin1Char('\n')), tmp); + d->cursor.insertText(doNewlineEnforcement(tr("Additional output omitted. You can increase " + "the limit in the \"Build & Run\" settings.") + + QLatin1Char('\n')), tmp); } d->cursor.endEditBlock();