Highlight warning and errors in the BibTeX log.

This commit is contained in:
Julien Rioux 2013-01-15 16:13:20 +01:00
parent 427fa812e9
commit 6c58e3faa9

View File

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