Unassigned buffer_ member in Inset::dispatch()
Scott Kostyshak
skostysh at lyx.org
Mon Feb 27 18:31:55 UTC 2023
On Sat, Jan 28, 2023 at 09:44:26PM -0500, Scott Kostyshak wrote:
> On Fri, Jan 13, 2023 at 12:06:38PM -0500, Scott Kostyshak wrote:
> > 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!
>
> Attached is an example file to reproduce with the following steps:
>
> 1. Select one of the fractions.
> 2. Type \omeqcolorC<space>.
> 3. Press <Right>, <Right>.
>
> I get the following:
>
> Unassigned buffer_ member in Inset::dispatch()
> LyX Code: 78 name: mathnest
> Unassigned buffer_ member in Inset::dispatch()
> LyX Code: 78 name: mathnest
Ping. Shall I make a trac ticket?
Scott
More information about the lyx-devel
mailing list