]> git.lyx.org Git - lyx.git/commit
Try to make sure that math insets have a properly set buffer_ member
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 14 Oct 2022 20:42:21 +0000 (22:42 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 22 Apr 2024 15:52:23 +0000 (17:52 +0200)
commitf3c5ff9cb72c5231f1e1e81452e67d6f12dadecb
treee2708bbafe1974f7268f2585aca3e7ed8dcfd9e4
parent358efd120a87deb2cf404c762195c046a2e63507
Try to make sure that math insets have a properly set buffer_ member

Set the buffer of contents that is added to a MathData object through
MathData::insert() (both versions)
MathData::push_back()
asArray()

Also in math macros, initialize look_ with the relevant buffer.

This reduces the number of insets hat do not have a proper buffer.

See #13050 for discussion of this issue.
src/mathed/InsetMathMacroTemplate.cpp
src/mathed/MathData.cpp
src/mathed/MathData.h
src/mathed/MathSupport.cpp