InsetMathDecoration::InsetMathDecoration(Buffer * buf, latexkeys const * key)
- : InsetMathNest(buf, 1), key_(key), dh_(0), dy_(0), dw_(0)
+ : InsetMathNest(buf, 1), key_(key)
{
// lyxerr << " creating deco " << key->name << endl;
}
}
-bool InsetMathDecoration::isScriptable() const
-{
- return mathClass() == MC_OP;
-}
-
-
bool InsetMathDecoration::protect() const
{
return
os << '\\' << key_->name << '{';
ModeSpecifier specifier(os, currentMode());
os << cell(0) << '}';
+ writeLimits(os);
}