From 1b8589e214e45b95bdfd2f5f49c280cc72b77306 Mon Sep 17 00:00:00 2001 From: Martin Vermeer Date: Mon, 28 Nov 2005 10:23:19 +0000 Subject: [PATCH] Fix bug 2117: matrix inside delimiters or sub/superscript git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10624 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 6 ++++++ src/mathed/math_deliminset.h | 2 ++ src/mathed/math_scriptinset.h | 2 ++ 3 files changed, 10 insertions(+) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index c61c48e73a..e66bc7868d 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,9 @@ +2005-11-28 Martin Vermeer + + * math_deliminset.h: + * math_scriptinset.h: fix bug 2117, matrix inside delimeters or in + sub- or superscript + 2005-11-25 Jürgen Spitzmüller * math_hullinset.[Ch]: new method textString (fix bug 2089) diff --git a/src/mathed/math_deliminset.h b/src/mathed/math_deliminset.h index b24da7f28d..41b1f7044a 100644 --- a/src/mathed/math_deliminset.h +++ b/src/mathed/math_deliminset.h @@ -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; diff --git a/src/mathed/math_scriptinset.h b/src/mathed/math_scriptinset.h index b6fa642d1d..52beb7073f 100644 --- a/src/mathed/math_scriptinset.h +++ b/src/mathed/math_scriptinset.h @@ -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; -- 2.39.5