#endif
#include "math_nestinset.h"
+#include "math_cursor.h"
#include "math_mathmlstream.h"
#include "debug.h"
}
-void MathNestInset::draw(Painter & pain, int x, int y) const
-{
- for (idx_type i = 0; i < nargs(); ++i)
- xcell(i).draw(pain, x + xcell(i).xo(), y + xcell(i).yo());
-}
-
-
bool MathNestInset::idxNext(idx_type & idx, pos_type & pos) const
{
if (idx + 1 >= nargs())
return true;
return false;
}
+
+
+bool MathNestInset::editing() const
+{
+ return mathcursor && mathcursor->isInside(this);
+}