commit 5946226040505ea52326cb90a6bdd00a7322a760
Author: Scott Kostyshak <[email protected]>
Date: Sat Oct 10 23:59:52 2026 +0200
Add assert to improve reproducing issues
Otherwise I see the error message after I exit LyX and have no idea
how to reproduce.
---
src/TextMetrics.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp
index 97fff2b2f9..8f1d8224f1 100644
--- a/src/TextMetrics.cpp
+++ b/src/TextMetrics.cpp
@@ -1167,6 +1167,7 @@ Rows TextMetrics::breakParagraph(Row const & bigrow) const
LYXERR0("MacroContext not initialised!"
<< " Going through the buffer again and hope"
<< " the context is better then. Please report");
+ LASSERT(false, /**/ );
// FIXME audit updateBuffer calls
// This should not be here, but it is not clear yet where else
it
// should be.
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs