The branch, betterspacing, has been updated.

- Log -----------------------------------------------------------------

commit d26d2b1a5b586a09121902462589b99b3e25cf97
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Thu Oct 13 00:51:42 2016 +0200

    The class of \stackrel is \mathrel

diff --git a/src/mathed/InsetMathStackrel.cpp b/src/mathed/InsetMathStackrel.cpp
index 9412d99..a40bdaf 100644
--- a/src/mathed/InsetMathStackrel.cpp
+++ b/src/mathed/InsetMathStackrel.cpp
@@ -52,6 +52,13 @@ bool InsetMathStackrel::idxUpDown(Cursor & cur, bool up) 
const
 }
 
 
+// FIXME: if \mathbin is supported, this should change
+MathClass InsetMathStackrel::mathClass() const
+{
+       return MC_REL;
+}
+
+
 void InsetMathStackrel::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        Dimension dim1;
diff --git a/src/mathed/InsetMathStackrel.h b/src/mathed/InsetMathStackrel.h
index 91862a7..d6ac815 100644
--- a/src/mathed/InsetMathStackrel.h
+++ b/src/mathed/InsetMathStackrel.h
@@ -24,6 +24,8 @@ public:
        ///
        bool idxUpDown(Cursor &, bool up) const;
        ///
+       MathClass mathClass() const;
+       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -35,7 +37,7 @@ public:
        void mathmlize(MathStream &) const;
        ///
        void htmlize(HtmlStream &) const;
-       /// 
+       ///
        void validate(LaTeXFeatures &) const;
        ///
        InsetCode lyxCode() const { return MATH_STACKREL_CODE; }

-----------------------------------------------------------------------

Summary of changes:
 src/mathed/InsetMathStackrel.cpp |    7 +++++++
 src/mathed/InsetMathStackrel.h   |    4 +++-
 2 files changed, 10 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Repository for new features

Reply via email to