mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 15:01:58 +00:00
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:
parent
3683371d85
commit
7412bd1fb1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user