[EMAIL PROTECTED] writes: > + // FIXME At present, these are being enabled and disabled according to > + // whether PASSTHRU has been set in the InsetLayout. This makes some > + // sense, but there are other checks that should really be done. E.g., > + // one should not be able to inset IndexPrint inside an optional > argument!!
You can specify that in the insetAllowed method of IndexOptArg. BTW, I do not understand why this stuff is done in InsetCollapsable instead of InsetText.