#pragma interface
#endif
+#include "mathed/support.h"
#include "math_defs.h"
class MathedInset;
+class MathedArray;
+class MathParInset;
///
enum mathIterFlags {
- /// Allow newlines
- MthIF_CR = 1,
- /// Allow tabs
- MthIF_Tabs = 2
+ /// Allow newlines
+ MthIF_CR = 1,
+ /// Allow tabs
+ MthIF_Tabs = 2
};
class MathedIter {
public:
///
- MathedIter() {
- pos = 0;
- fcode = 0;
- array = 0;
- flags = 0;
- ncols = row = col = 0;
- }
+ MathedIter();
///
explicit
MathedIter(MathedArray *);
///
bool goNextCode(MathedTextCodes);
///
- void goPosRel(int);
- ///
void goPosAbs(int);
///
int Empty() const;
///
mutable int pos;
///
- int row, col, ncols;
+ int row;
+ ///
+ int col;
+ ///
+ int ncols;
///
MathedArray * array;
// one element stack
///
short fcode;
///
- int x, y;
+ int x;
+ ///
+ int y;
+ ///
+ int pos;
+ ///
+ int row;
///
- int pos, row, col;
+ int col;
};
///
MIState stck;
};
///
-#define MX_WAS_SUB 1
+//#define MX_WAS_SUB 1
///
-#define MX_WAS_SUPER 2
+//#define MX_WAS_SUPER 2
#endif