commit bbff8c3d80e549e9401bd5c8513d0617f263b0ee
Author: Juergen Spitzmueller <[email protected]>
Date: Sun Nov 2 17:32:53 2025 +0100
Add missing buffer setting of script inset in macro
Fixes bug #13272.
(cherry picked from commit a124ee1764f4ceec24708b3488ba1cd1db29025e)
---
src/mathed/MathData.cpp | 1 +
status.24x | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/mathed/MathData.cpp b/src/mathed/MathData.cpp
index 73c1d9db90..2b7ddfc004 100644
--- a/src/mathed/MathData.cpp
+++ b/src/mathed/MathData.cpp
@@ -725,6 +725,7 @@ void MathData::attachMacroParameters(Cursor * cur,
// get pointer to "deep" copied macro inset
scriptInset = operator[](macroPos).nucleus()->asScriptInset();
+ scriptInset->setBuffer(*buffer_);
macroInset = scriptInset->nuc()[0].nucleus()->asMacro();
}
diff --git a/status.24x b/status.24x
index d1f82d6525..7b10550a96 100644
--- a/status.24x
+++ b/status.24x
@@ -62,7 +62,7 @@ What's new
- Fix check of broken cross-references (false negatives).
-- Fix LaTeX output of formulas with a prime, a superscript and a subscripi
+- Fix LaTeX output of formulas with a prime, a superscript and a subscript
(bug 13004).
- Fix problem when using DeclarePairedDelimiterX (bug 8934).
@@ -80,9 +80,11 @@ What's new
* USER INTERFACE
-- Fix tabular metrics crash with with xtabular, varwidth columns and a
+- Fix tabular metrics crash with with xtabular, varwidth columns and a
multicol spanning the whole table.
+- Fix crash with macro and super/subscripts (bug 13272).
+
- Fix false warning when closing document settings with read-only document.
- In mathed, do not wrap \underbar in \text.
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs