commit 7d70bb0f699cce8df0d919110c0085243cd93b08
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Thu Nov 24 18:14:38 2022 +0100

    GuiLog: don't miss package warnings for packages with dashes
---
 src/frontends/qt4/GuiLog.cpp |    2 +-
 status.23x                   |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt4/GuiLog.cpp b/src/frontends/qt4/GuiLog.cpp
index 5b88d30..fbb0c93 100644
--- a/src/frontends/qt4/GuiLog.cpp
+++ b/src/frontends/qt4/GuiLog.cpp
@@ -47,7 +47,7 @@ namespace frontend {
 // Information
 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--|Underfull|Overfull|.*> 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 ).*$");
 
diff --git a/status.23x b/status.23x
index 67ce818..784051a 100644
--- a/status.23x
+++ b/status.23x
@@ -153,6 +153,9 @@ What's new
 
 - Fix potential crash with 32bit ucs4 codepoints (bug 12519).
 
+- Catch warnings from packages that contain a hyphen in their name
+  in the Log dialog.
+
 
 * INTERNALS
 
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to