[LyX/master] Try to make sure that math insets have a properly set buffer_ member
Richard Kimberly Heck
rikiheck at gmail.com
Tue Apr 23 03:31:31 UTC 2024
On 4/22/24 23:20, Scott Kostyshak wrote:
> On Mon, Apr 22, 2024 at 03:57:02PM GMT, Jean-Marc Lasgouttes wrote:
>> commit f3c5ff9cb72c5231f1e1e81452e67d6f12dadecb
>> Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
>> Date: Fri Oct 14 22:42:21 2022 +0200
>>
>> 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.
>> ---
> I don't understand any of this, but does this by chance give a hint for solving the unset buffers in the following issues?
>
> https://www.lyx.org/trac/ticket/12682
> https://www.lyx.org/trac/ticket/12947
JMarc says in one of the comments that the patch doesn't fix that one.
It seems mostly to deal with math macros. But you could try some of the
patches at #13050.
Riki
More information about the lyx-devel
mailing list