]> git.lyx.org Git - features.git/commit
fix a bug in visual cursor movement
authorDov Feldstern <dov@lyx.org>
Sat, 1 Nov 2008 17:00:58 +0000 (17:00 +0000)
committerDov Feldstern <dov@lyx.org>
Sat, 1 Nov 2008 17:00:58 +0000 (17:00 +0000)
commit13cf13c69022bca3a05f159a3bcc4465ff3af20d
treea153cc5e4a1daad9f91224634e3f6705d66c1cf7
parent93c9791cb38bcde59f8d8ab2e1f166a48bd10e29
fix a bug in visual cursor movement

The setting of boundary need to take the paragraph's direction (LTR/RTL) into
account.

This bug was discovered by Vincent, while trying to solve bug #5061.

While this fixes the original manifestation of bug #5061, it doesn't really
solve the underlying issue, which is that on a boundary, after typing
Ctrl-Enter, the cursor is painted on the same line as the newline symbol
rather than on the new line. See bugzilla for further discussion of this.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27225 a592a061-630c-0410-9148-cb99ea01b6c8
src/Cursor.cpp