mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Correct the mess introduced in r33250.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33251 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
61eecb8a44
commit
489b80aef4
@ -1006,7 +1006,7 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
case LFUN_REGEXP_MODE: {
|
case LFUN_REGEXP_MODE: {
|
||||||
InsetMathHull * i = dynamic_cast<InsetMathHull *>(cur.inset().asInsetMath());
|
InsetMathHull * i = dynamic_cast<InsetMathHull *>(cur.inset().asInsetMath());
|
||||||
if (i && i->getType() == hullRegexp) {
|
if (i && i->getType() == hullRegexp) {
|
||||||
cur.message(_("Already in regulare expression mode"));
|
cur.message(_("Already in regular expression mode"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
cur.macroModeClose();
|
cur.macroModeClose();
|
||||||
@ -1018,7 +1018,7 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
cur.niceInsert(save_selection);
|
cur.niceInsert(save_selection);
|
||||||
cur.message(_("Regular expression editor mode"));
|
cur.message(_("Regular expression editor mode"));
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case LFUN_MATH_FONT_STYLE: {
|
case LFUN_MATH_FONT_STYLE: {
|
||||||
FuncRequest fr = FuncRequest(LFUN_MATH_INSERT, '\\' + cmd.argument());
|
FuncRequest fr = FuncRequest(LFUN_MATH_INSERT, '\\' + cmd.argument());
|
||||||
|
Loading…
Reference in New Issue
Block a user