On Wed, Apr 10, 2002 at 04:55:06PM +0200, Andre Poenitz wrote:

> On Wed, Apr 10, 2002 at 05:52:03PM +0300, Martin Vermeer wrote:
> > A proper fix would mean executing these statements only if not already
> > in mathed mode. But how to test for that?
> 
> Check for mathcursor != 0, but that's a hack. Maybe this should be wrapped
> in some static function of InsetFormulaBase or so...
> 
> Andre'

Hmmm, like 

        virtual bool isInsideMathed() const { return (mathcursor != 0); }


... would that work? BTW why static?

Martin

Attachment: msg36460/pgp00000.pgp
Description: PGP signature

Reply via email to