From 15f9312d80cd78e4604ef995ba9761000e8bc5cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Mon, 2 Aug 2010 16:38:41 +0000 Subject: [PATCH] * 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 --- src/frontends/qt4/GuiLog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("^!.*$"); -- 2.39.2