allow extending a selection to outside a math inset (broken since r22930)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24143 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dov Feldstern 2008-04-06 20:11:05 +00:00
parent 3683371d85
commit 7412bd1fb1

View File

@ -1757,7 +1757,7 @@ bool InsetMathNest::cursorMathForward(Cursor & cur)
cur.inset().idxFirst(cur);
return true;
}
if (cur.posForward() || idxForward(cur) || cur.selection())
if (cur.posForward() || idxForward(cur))
return true;
// try to pop forwards --- but don't pop out of math! leave that to
// the FINISH lfuns
@ -1776,7 +1776,7 @@ bool InsetMathNest::cursorMathBackward(Cursor & cur)
cur.inset().idxLast(cur);
return true;
}
if (cur.posBackward() || idxBackward(cur) || cur.selection())
if (cur.posBackward() || idxBackward(cur))
return true;
// try to pop backwards --- but don't pop out of math! leave that to
// the FINISH lfuns