]> git.lyx.org Git - lyx.git/commitdiff
{Over,under}full [hv]box warning is a warning.
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 24 Jul 2017 07:09:48 +0000 (09:09 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 24 Jul 2017 07:09:48 +0000 (09:09 +0200)
Since this is something one should be aware of, make it more prominent
in the Log dialog.

src/frontends/qt4/GuiLog.cpp

index 1f4bb459378dd82d5268fa8f39719489d06e9967..5b88d30c0827a2441eaf435108d54fe7c42c2773 100644 (file)
@@ -45,9 +45,9 @@ namespace frontend {
 // FIXME: These regexes are incomplete. It would be good if we could collect those used in LaTeX::scanLogFile
 //        and LaTeX::scanBlgFile and re-use them here!(spitz, 2013-05-27)
 // Information
-QRegExp exprInfo("^(Document Class:|LaTeX Font Info:|File:|Package:|Language:|Underfull|Overfull|.*> INFO - |\\(|\\\\).*$");
+QRegExp exprInfo("^(Document Class:|LaTeX Font Info:|File:|Package:|Language:|.*> INFO - |\\(|\\\\).*$");
 // Warnings
-QRegExp exprWarning("^(LaTeX Warning|LaTeX Font Warning|Package [\\w\\.]+ Warning|Class \\w+ Warning|Warning--|.*> WARN - ).*$");
+QRegExp exprWarning("^(LaTeX Warning|LaTeX Font Warning|Package [\\w\\.]+ Warning|Class \\w+ Warning|Warning--|Underfull|Overfull|.*> WARN - ).*$");
 // Errors
 QRegExp exprError("^(!|.*---line [0-9]+ of file|.*> FATAL - |.*> ERROR - |Missing character: There is no ).*$");