]> git.lyx.org Git - features.git/commit
Handle properly top/bottom of inset with mac-like cursor movement
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 15 Jul 2017 15:23:22 +0000 (17:23 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 14 Feb 2018 16:06:03 +0000 (17:06 +0100)
commit5f6c681b76b7137107be20b52fb3200883a4faa9
treea5397e5b2c1ecbd4268dab3359f8cf076e07c195
parent8be744b8277f38f6b71ff5e1c10daebc65e22e5b
Handle properly top/bottom of inset with mac-like cursor movement

The correct behavior is to go to position 0 going up from first row,
and to end of row when going down on last row.

The targetx value of the cursor is not updated, which makes cursor
movement more natural.

Fixes bug #10701.

(cherry picked from commit 34285cc6830b061c18998bff8385092a311170a8)
src/Text3.cpp
status.23x [new file with mode: 0644]