]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macro.h
fix typo that put too many include paths for most people
[lyx.git] / src / mathed / math_macro.h
index 2c3fdcfadadd270248b0519f2d504034d74302e0..ee8059c03dc7d6409ec93883d656b4de651e309c 100644 (file)
@@ -1,8 +1,8 @@
 // -*- C++ -*-
 /*
  *  File:        math_macro.h
- *  Purpose:     Declaration of macro class for mathed 
- *  Author:      Alejandro Aguilar Sierra <asierra@servidor.unam.mx> 
+ *  Purpose:     Declaration of macro class for mathed
+ *  Author:      Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
  *  Created:     November 1996
  *  Description: WYSIWYG math macros
  *
@@ -51,9 +51,7 @@ public:
        void dump() const;
 
        ///
-       bool idxUp(idx_type &) const;
-       ///
-       bool idxDown(idx_type &) const;
+       bool idxUpDown(idx_type &, bool up) const;
        ///
        bool idxLeft(idx_type &, pos_type &) const;
        ///
@@ -83,11 +81,11 @@ private:
        ///
        char const * name() const;
        ///
-       bool editing() const;
-       ///
        bool defining() const;
        ///
        void updateExpansion() const;
+       ///
+       void expand() const;
 
        ///
        MathAtom & tmplate_;
@@ -95,6 +93,8 @@ private:
        mutable MathXArray expanded_;
        ///
        mutable MathMetricsInfo mi_;
+       ///
+       mutable LyXFont font_;
 };