#include "math_support.h"
+using std::string;
using std::max;
using std::auto_ptr;
}
-auto_ptr<InsetBase> MathDelimInset::clone() const
+auto_ptr<InsetBase> MathDelimInset::doClone() const
{
return auto_ptr<InsetBase>(new MathDelimInset(*this));
}
mathed_draw_deco(pi, x + 4, b, dw_, dim_.height(), left_);
mathed_draw_deco(pi, x + dim_.width() - dw_ - 4,
b, dw_, dim_.height(), right_);
+ setPosCache(pi, x, y);
}
-bool MathDelimInset::isParanthesis() const
+bool MathDelimInset::isParenthesis() const
{
return left_ == "(" && right_ == ")";
}