[LyX/master] Try to make sure that math insets have a properly set buffer_ member

Scott Kostyshak skostysh at lyx.org
Tue Apr 23 03:20:57 UTC 2024


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

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240422/a6800d43/attachment.asc>


More information about the lyx-devel mailing list