From 6c58e3faa9a38d10fd5c5c5fd7d771b488cead18 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Tue, 15 Jan 2013 16:13:20 +0100 Subject: [PATCH] Highlight warning and errors in the BibTeX log. --- src/frontends/qt4/GuiLog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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).*$"); ///////////////////////////////////////////////////////////////////// -- 2.39.2