mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
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:
parent
40a63479cc
commit
713beb3655
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user