re-enable commandline search in a single formula

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8319 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2004-01-07 15:13:19 +00:00
parent 40a63479cc
commit 713beb3655

View File

@ -692,8 +692,8 @@ InsetFormulaBase::priv_dispatch(FuncRequest const & cmd,
result = DispatchResult(false);
else
bv->owner()->getDialogs().show(name, data, 0);
break;
}
break;
case LFUN_INSET_APPLY: {
string const name = cmd.getArg(0);
@ -712,8 +712,16 @@ InsetFormulaBase::priv_dispatch(FuncRequest const & cmd,
result = DispatchResult(false);
}
}
break;
}
case LFUN_WORD_REPLACE:
case LFUN_WORD_FIND: {
result =
searchForward(cmd.view(), cmd.getArg(0), false, false)
? DispatchResult(true, true) : DispatchResult(false);
break;
}
break;
default:
result = DispatchResult(false);