From: Julien Rioux Date: Tue, 15 Jan 2013 15:13:20 +0000 (+0100) Subject: Highlight warning and errors in the BibTeX log. X-Git-Tag: 2.1.0beta1~906 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6c58e3faa9a38d10fd5c5c5fd7d771b488cead18;p=lyx.git Highlight warning and errors in the BibTeX log. --- diff --git a/src/frontends/qt4/GuiLog.cpp b/src/frontends/qt4/GuiLog.cpp index e5a8a96d54..f45992eef7 100644 --- a/src/frontends/qt4/GuiLog.cpp +++ b/src/frontends/qt4/GuiLog.cpp @@ -40,9 +40,9 @@ namespace frontend { // Information QRegExp exprInfo("^(Document Class:|LaTeX Font Info:|File:|Package:|Language:|Underfull|Overfull|\\(|\\\\).*$"); // Warnings -QRegExp exprWarning("^(LaTeX Warning|LaTeX Font Warning|Package [\\w\\.]+ Warning|Class \\w+ Warning).*$"); +QRegExp exprWarning("^(LaTeX Warning|LaTeX Font Warning|Package [\\w\\.]+ Warning|Class \\w+ Warning|Warning--).*$"); // Errors -QRegExp exprError("^!.*$"); +QRegExp exprError("^(!|.*---line [0-9]+ of file).*$"); /////////////////////////////////////////////////////////////////////