On Sat, Nov 26, 2005 at 07:06:59PM +0100, Georg Baum wrote: > Am Donnerstag, 10. November 2005 16:14 schrieb Jean-Marc Lasgouttes: > > >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > > > Martin> And do we have a consensus-of-sorts on the attached? > > > > I think it is OK, but I have not followed the discussion very closely. > > It is the right fix IMO. Can it go in? BTW, this is now > http://bugzilla.lyx.org/show_bug.cgi?id=2140 > > > Georg
The current fix looks like the attached. It fixes the same problem for scriptinset too. - Martin
Index: math_deliminset.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_deliminset.h,v retrieving revision 1.42 diff -u -p -r1.42 math_deliminset.h --- math_deliminset.h 10 Apr 2005 14:08:54 -0000 1.42 +++ math_deliminset.h 27 Nov 2005 15:43:39 -0000 @@ -36,6 +36,8 @@ public: /// is it |...|? bool isAbs() const; /// + mode_type currentMode() const { return MATH_MODE; } + /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo &, int x, int y) const; Index: math_scriptinset.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_scriptinset.h,v retrieving revision 1.70 diff -u -p -r1.70 math_scriptinset.h --- math_scriptinset.h 24 Nov 2004 21:58:42 -0000 1.70 +++ math_scriptinset.h 27 Nov 2005 15:43:40 -0000 @@ -28,6 +28,8 @@ public: /// create inset with single script and given nucleus MathScriptInset(MathAtom const & at, bool up); /// + mode_type currentMode() const { return MATH_MODE; } + /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const;
pgp7ICpz2HATX.pgp
Description: PGP signature