#include "math_rowst.h"
#include "array.h"
#include "mathed/support.h"
+#include "debug.h"
using std::endl;
// All insets must be clonned
MathedIter it(a0);
MathedArray * a = it.Copy();
-
+
+#if 0
+ array->insert(array->begin() + pos,
+ a->begin(), a->end());
+#else
// make room for the data
split(a->last());
array->mergeF(a, pos, a->last());
-
+#endif
int pos1 = pos;
int pos2 = pos + a->last();
x = y = 0;
sx = sw = 0;
limits = false;
- s_type = 0;
if (p)
SetData(p);
else {
}
if (!array) {
array = new MathedArray; // this leaks
- p->SetData(array);
+ p->setData(array);
}
size = p->GetStyle();
Reset();
}
-bool MathedXIter::goNextColumn()
+void MathedXIter::goNextColumn()
{
- int rowp = row;
+ //int rowp = row;
int colp = col;
- while (Next() && col == colp);
+ while (Next() && col == colp)
+ ;
- return (col != colp + 1 || rowp != row);
+ //return (col != colp + 1 || rowp != row);
}