- xcell(0).draw(pain, x + w + 2, y);
- mathed_draw_deco(pain, x + 1, b, w, height(), left_);
- mathed_draw_deco(pain, x + width() - w - 1, b, w, height(), right_);
+ xcell(0).draw(pi, x + w + 4, y);
+ mathed_draw_deco(pi, x + 4, b, w, height(), left_);
+ mathed_draw_deco(pi, x + width() - w - 4, b, w, height(), right_);
+}
+
+
+bool MathDelimInset::isParanthesis() const
+{
+ return left_ == "(" && right_ == ")";
+}
+
+
+bool MathDelimInset::isBrackets() const
+{
+ return left_ == "[" && right_ == "]";