Am Sonntag, dem 02.11.2025 um 22:27 +0100 schrieb Jean-Marc Lasgouttes:
> My question is: why was the buffer not set already? Do we have an
> idea of where this MathData object was created?

In MathData::collectParameters (882ff.):

MathAtom & cell = operator[](pos);

[...]

scriptToPutAround = cell;


In MathData::attachMacroParameters, then, we do:


operator[](macroPos) = scriptToPutAround;

[...]

scriptInset = operator[](macroPos).nucleus()->asScriptInset();


-- 
Jürgen
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to