Unassigned buffer_ member in Inset::dispatch()

Jean-Marc Lasgouttes lasgouttes at lyx.org
Fri Jan 13 16:52:47 UTC 2023


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.

JMarc



More information about the lyx-devel mailing list