]> git.lyx.org Git - lyx.git/commitdiff
Highlight warning and errors in the BibTeX log.
authorJulien Rioux <jrioux@lyx.org>
Tue, 15 Jan 2013 15:13:20 +0000 (16:13 +0100)
committerJulien Rioux <jrioux@lyx.org>
Tue, 15 Jan 2013 15:13:20 +0000 (16:13 +0100)
src/frontends/qt4/GuiLog.cpp

index e5a8a96d546289c469e043d8583633417a7a4231..f45992eef7ca33b2172087838751a9f3d0975191 100644 (file)
@@ -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).*$");
 
 
 /////////////////////////////////////////////////////////////////////