mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
rev 18350: forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18352 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
105b8b2bf1
commit
06676b6d5b
@ -1065,8 +1065,8 @@ bool Text::cursorDown(Cursor & cur)
|
||||
// handling when the cursor is at the end of line: Use the new
|
||||
// x-target only if the old one was before the end of line.
|
||||
if (cur.pos() != pm.rows()[row].endpos()
|
||||
|| (!cur.isRTL() && x < cur.targetX())
|
||||
|| (cur.isRTL() && x > cur.targetX())) {
|
||||
|| (!reverseDirectionNeeded(cur) && x < cur.targetX())
|
||||
|| (reverseDirectionNeeded(cur) && x > cur.targetX())) {
|
||||
|
||||
x = cur.targetX();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user