[LyX/master] Try to make sure that math insets have a properly set buffer_ member
Scott Kostyshak
skostysh at lyx.org
Tue Apr 23 14:31:50 UTC 2024
On Mon, Apr 22, 2024 at 11:31:31PM GMT, Richard Kimberly Heck wrote:
> 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.
Sounds good, thanks!
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/20240423/58838891/attachment.asc>
More information about the lyx-devel
mailing list