From: Jürgen Spitzmüller Date: Mon, 2 Aug 2010 16:38:41 +0000 (+0000) Subject: * GuiLog.cpp: refine warning detection: X-Git-Tag: 2.0.0~2875 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=15f9312d80cd78e4604ef995ba9761000e8bc5cb;p=features.git * GuiLog.cpp: refine warning detection: - detect "LaTeX Font Warning" - detect "Class X Warning" - package warnings can contain dots ("Package pdftex.def Warning") git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35040 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiLog.cpp b/src/frontends/qt4/GuiLog.cpp index 320b977316..e5a8a96d54 100644 --- a/src/frontends/qt4/GuiLog.cpp +++ b/src/frontends/qt4/GuiLog.cpp @@ -40,7 +40,7 @@ namespace frontend { // Information QRegExp exprInfo("^(Document Class:|LaTeX Font Info:|File:|Package:|Language:|Underfull|Overfull|\\(|\\\\).*$"); // Warnings -QRegExp exprWarning("^(LaTeX Warning|Package \\w+ Warning).*$"); +QRegExp exprWarning("^(LaTeX Warning|LaTeX Font Warning|Package [\\w\\.]+ Warning|Class \\w+ Warning).*$"); // Errors QRegExp exprError("^!.*$");