On Fri, Jan 02, 2004 at 08:06:06PM +0100, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | On Wed, Dec 10, 2003 at 11:16:16AM +0100, Michael Schmitt wrote: > >> Hi Andre, > >> > >> I have seen that you removed method "insertInset". Could you please tell > >> me where the magic code is nowadays that prevents the insertion of an > >> inset into an ERT inset? I can't find it. > > > | This should be handled by ignoring the corresponding LFUNs in > | InsetERT::dispatch(). > > This does not sound right...
Why? The inset is the only thing that should know about its own abilities. [Of course a rather idealistic view of things...] One of the abilities is to nest and insert things, so the ERT inset shoud decide whether it accepts an inset as content (it does so for InsetNewline but nothing else) Andre'