On Fri, Mar 26, 2004 at 10:15:33AM +0100, Alfredo Braunstein wrote:
> Angus Leeming wrote:
> 
> > Agreed. Even the statement InsetCollapsable IS-A InsetText is wrong.
> 
> I guess we'd have to wait for André to explain his reasons. In the cvs log
> it says it's for getting rid of the 'inset owner' pointer, which I think
> was used for disallowing the insertion of certain types of insets into
> others.

It was used in quite a few places and made an InsetText sort of
non-copiable as full functionality was only available if it was
re-attached to some 'owning' inset.

I tend to think of an InsetText as the texted equivalent of a
MathNestInset with a single cell. An InsetCollapsable would be a
MathSqrtInset.

However, one could take other stances, mainly because there seems to be
no particular reason for InsetText to exist at all. It's more or less a
cheap wrapper around a LyXText, so one could probably use the LyXText
directly.

Andre'

Reply via email to