* 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
This commit is contained in:
Jürgen Spitzmüller 2010-08-02 16:38:41 +00:00
parent 23a984b258
commit 15f9312d80

View File

@ -40,7 +40,7 @@ namespace frontend {
// Information // Information
QRegExp exprInfo("^(Document Class:|LaTeX Font Info:|File:|Package:|Language:|Underfull|Overfull|\\(|\\\\).*$"); QRegExp exprInfo("^(Document Class:|LaTeX Font Info:|File:|Package:|Language:|Underfull|Overfull|\\(|\\\\).*$");
// Warnings // Warnings
QRegExp exprWarning("^(LaTeX Warning|Package \\w+ Warning).*$"); QRegExp exprWarning("^(LaTeX Warning|LaTeX Font Warning|Package [\\w\\.]+ Warning|Class \\w+ Warning).*$");
// Errors // Errors
QRegExp exprError("^!.*$"); QRegExp exprError("^!.*$");