Unassigned buffer_ member in Inset::dispatch()

Scott Kostyshak skostysh at lyx.org
Fri Jan 13 17:06:38 UTC 2023


On Fri, Jan 13, 2023 at 05:52:47PM +0100, Jean-Marc Lasgouttes wrote:
> Le 13/01/2023 à 17:18, Scott Kostyshak a écrit :
> > I didn't have devel mode on.
> > 
> > Would it make sense to add an assert? That will be helpful to figure out
> > how to reproduce. I can add it locally, but is there a reason we don't
> > have it added in the code? i.e., see attached patch.
> 
> I would rather advise to have devel-mode on. It will show you (in red) that
> the issue is related to macro template insets and also completion in text. I
> have unfinished patches to handle these things, but we do have asserts in
> places where buffer insets are actually used.

Makes sense, 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/20230113/1d5ecd82/attachment.asc>


More information about the lyx-devel mailing list