#include "MathClass.h"
#include "ColorCode.h"
+#include "Dimension.h"
#include "support/docstring.h"
MathClass mclass;
/// the spacing around the element
int before, after;
- /// count wether the current mathdata is nested in macro(s)
+ /// count whether the current mathdata is nested in macro(s)
int macro_nesting;
/// Marker type
InsetMath::marker_type marker;
};
///
- MathRow() : caret_ascent(0), caret_descent(0) {};
+ MathRow() {}
+ ///
+ MathRow(Dimension const & dim) : caret_dim(dim) {}
///
typedef std::vector<Element> Elements;
///
int kerning(BufferView const *) const;
/// useful when the caret visits this cell
- int caret_ascent, caret_descent;
+ Dimension caret_dim;
private: