On Mon, Mar 21, 2005 at 05:56:42PM +0200, Martin Vermeer wrote:
> I believe that asGridInset will not return the right answer: it will
> always return true if the inset is a MathGridInset in the C++ sense,
> irrespective whether it is in the role of, e.g., an eqnarray.

Indeed.
 
> From my testing it appears that for a true grid inset (which may be
> nested inside an "untrue" one), control never even passes the
> MathHullInset getStatus method: MathHullInset only handles the outer
> shell or top level of every equation, the math/text interface. This
> includes type_ == "simple", a non-display formula embedded in running
> text (or table cell).

So this indicates a bug in either doDispatch or getStatus in this area.
The most nested inset should be asked first and thus gets a chance to
give a definite answer first. If that does not happen automatically,
something is broken, like an inset's getStatus says 'I can do that' but
the case is not handled in the corresponding doDispatch() or similar.

Andre'

Reply via email to