mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 00:38:01 +00:00
Expand the string "regexp" to something user will better be able to understand.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33250 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7bbd67eb26
commit
61eecb8a44
@ -200,7 +200,7 @@ void regexpDispatch(Cursor & cur, FuncRequest const & cmd)
|
|||||||
{
|
{
|
||||||
BOOST_ASSERT(cmd.action == LFUN_REGEXP_MODE);
|
BOOST_ASSERT(cmd.action == LFUN_REGEXP_MODE);
|
||||||
if (cur.inRegexped()) {
|
if (cur.inRegexped()) {
|
||||||
cur.message(_("Already in regexp mode"));
|
cur.message(_("Already in regular expression mode"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cur.recordUndo();
|
cur.recordUndo();
|
||||||
|
@ -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 regexp mode"));
|
cur.message(_("Already in regulare expression mode"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
cur.macroModeClose();
|
cur.macroModeClose();
|
||||||
@ -1016,9 +1016,9 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
cur.posBackward();
|
cur.posBackward();
|
||||||
cur.pushBackward(*cur.nextInset());
|
cur.pushBackward(*cur.nextInset());
|
||||||
cur.niceInsert(save_selection);
|
cur.niceInsert(save_selection);
|
||||||
cur.message(_("Regexp 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…
x
Reference in New Issue
Block a user