On Fri, Mar 10, 2006 at 03:54:56PM +0100, Jean-Marc Lasgouttes wrote: > >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> This one has been apparently thoroughly tested (as in: used in > Martin> production work?) by Bennett. He saw one rendering issue with > Martin> nested insets, but it doesn't interfere with use. He reported > Martin> the speed gain is important at least on the Mac platform. > > Martin> Can I commit this to 1.5/trunk? > > I am in favor in general. > > Small note: I do not like the following much > > +bool isTrueTextInset(InsetBase * in) > +{ > + // Math and tabular insets have isTextInset = true, though they are > + // not derived from InsetText. Paint them fully > + return (in && in->isTextInset() && in->asMathInset() == 0 > + && in->lyxCode() != InsetBase::TABULAR_CODE); > +} > + > + > > Isn't there another way?
'asTrueTextInset' ... Andre'