On Wed, Apr 19, 2006 at 07:12:14PM +0200, Abdelrazak Younes wrote: > Martin Vermeer a écrit : > >On Wed, Apr 19, 2006 at 04:25:11PM +0200, Abdelrazak Younes wrote: > >>Martin Vermeer a écrit : > >>>On Wed, 2006-04-19 at 14:32 +0200, Abdelrazak Younes wrote: > > > >... > > > >Actually the _crash_ is due to the paragraph being not in the main > >lyxtext. It is fixed by the attached patch, which also handles the case > >of, say, a section header inside a box inset. With this patch, no crash > >will happen, though outlining will malfunction for this header. > > I guess this is because you use ParagraphList::iterator instead of > ParIterator in toc.C:outline()
Yes, sure. But think about this: you don't _want_ outlining to mix headers inside and outside insets. It's actually better that it doesn't work. - Martin
pgpZd8S1b7r4d.pgp
Description: PGP signature