// -*- 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
*
void dump() const;
///
- bool idxUp(idx_type &, pos_type &) const;
- ///
- bool idxDown(idx_type &, pos_type &) const;
+ bool idxUpDown(idx_type &, bool up) const;
///
bool idxLeft(idx_type &, pos_type &) const;
///
void validate(LaTeXFeatures &) const;
///
bool isMacro() const { return true; }
+ ///
+ bool match(MathInset *) const { return false; }
///
void normalize(NormalStream &) const;
///
char const * name() const;
///
- bool editing() const;
- ///
bool defining() const;
+ ///
+ void updateExpansion() const;
+ ///
+ void expand() const;
///
MathAtom & tmplate_;
mutable MathXArray expanded_;
///
mutable MathMetricsInfo mi_;
+ ///
+ mutable LyXFont font_;
};