#include "MathClass.h"
#include "ColorCode.h"
+#include "Dimension.h"
#include "support/docstring.h"
class BufferView;
class Dimension;
+class MathData;
class MetricsInfo;
class PainterInfo;
-class InsetMath;
-class MathData;
/*
* While for editing purpose it is important that macros are counted
};
///
- MathRow(int asc = 0, int des = 0) : caret_ascent(asc), caret_descent(des) {};
+ 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: