]> git.lyx.org Git - features.git/commitdiff
* GuiLog.cpp: refine warning detection:
authorJürgen Spitzmüller <spitz@lyx.org>
Mon, 2 Aug 2010 16:38:41 +0000 (16:38 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Mon, 2 Aug 2010 16:38:41 +0000 (16:38 +0000)
- 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

index 320b9773168e9af324df13e25efd8c834f77e97f..e5a8a96d546289c469e043d8583633417a7a4231 100644 (file)
@@ -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("^!.*$");