mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
LFUN_MATH_foo: Add assertion to prevent recursive loop in RTL mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18400 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d17b7b3221
commit
eaeea178ea
@ -1337,6 +1337,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
case LFUN_MATH_BIGDELIM: {
|
case LFUN_MATH_BIGDELIM: {
|
||||||
cur.insert(new InsetMathHull(hullSimple));
|
cur.insert(new InsetMathHull(hullSimple));
|
||||||
cur.dispatch(FuncRequest(LFUN_CHAR_FORWARD));
|
cur.dispatch(FuncRequest(LFUN_CHAR_FORWARD));
|
||||||
|
BOOST_ASSERT(cur.inMathed());
|
||||||
cur.dispatch(cmd);
|
cur.dispatch(cmd);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user