else if (s == "delete-row") {
for (int i = 0, n = extractInt(is); i < n; ++i) {
delRow(cur.row());
- if (cur.idx() > nargs())
+ if (cur.idx() >= nargs())
cur.idx() -= ncols();
}
cur.pos() = 0; // trick, see below
if (!nuc().back()->isScriptable())
return false;
- if (nuc().back()->asSymbolInset()) {
- // \intop is an alias for \int\limits, \ointop == \oint\limits
- if (nuc().back()->asSymbolInset()->name().find("intop") != string::npos)
- return true;
- // per default \int has limits beside the \int even in displayed formulas
+ // per default \int has limits beside the \int even in displayed formulas
+ if (nuc().back()->asSymbolInset())
if (nuc().back()->asSymbolInset()->name().find("int") != string::npos)
return false;
- }
// assume "real" limits for everything else
return true;