Am 09.06.2007 um 08:37 schrieb Martin Vermeer:
On Fri, Jun 08, 2007 at 08:22:42PM +0200, Jean-Marc Lasgouttes wrote:"Stefan" == Stefan Schimanski <[EMAIL PROTECTED]> writes:Stefan> Critical bugs don't get less critical by ignorance. If anybodyStefan> wants to know more: [snip] Great analysis! I would say that the fix is correct, but I'd wait for Andre's input. JMarcHear, hear. This kind of analysis should be in the code, as comment. Do I understand correctly that this presupposes that 1) every mathinset must have an isActive method and 2) it should return true only if the inset has really accessible cells?
1) You get it for free if you derive from InsetMathNest. It returns true if you have at least one cell. Any inset just derived from InsetMath, but not from InsetMathNest do not need it. 2) Yes, if you use a InsetMathNest with cells you better do not return true if you do not draw the cells.
Stefan
PGP.sig
Description: Signierter Teil der Nachricht