* 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/branches/BRANCH_1_6_X@35042 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-08-03 08:03:47 +00:00
parent b01c38d2de
commit d5e17bc255
2 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,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("^!.*$");

View File

@ -36,7 +36,7 @@ What's new
* USER INTERFACE
- Fix mouse wheel scrolling on Mac OS 10.6 (bug 6775)
- Improve the detection of LaTeX warnings in the Log dialog.
* DOCUMENTATION AND LOCALIZATION
@ -67,6 +67,8 @@ What's new
- Box dialog: only shaded boxes can have multiple paragraphs when there
is no inner box.
- Fix mouse wheel scrolling on Mac OS 10.6 (bug 6775).
* DOCUMENTATION AND LOCALIZATION