GuiLog: don't miss package warnings for packages with dashes

This commit is contained in:
Juergen Spitzmueller 2022-11-24 18:14:38 +01:00
parent 20070d9c3c
commit 7d70bb0f69
2 changed files with 4 additions and 1 deletions

View File

@ -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 ).*$");

View File

@ -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