}
-DispatchResult
-MathScriptInset::priv_dispatch(LCursor & bv, FuncRequest const & cmd)
+void MathScriptInset::priv_dispatch(LCursor & cur, FuncRequest const & cmd)
{
+ //lyxerr << "MathScriptInset: request: " << cmd << std::endl;
+
if (cmd.action == LFUN_MATH_LIMITS) {
if (!cmd.argument.empty()) {
if (cmd.argument == "limits")
limits_ = hasLimits() ? -1 : 1;
else
limits_ = 0;
- return DispatchResult(true, true);
+ return;
}
- return MathNestInset::priv_dispatch(bv, cmd);
+ MathNestInset::priv_dispatch(cur, cmd);
}