]> git.lyx.org Git - lyx.git/commit
Fix entering inset in visual cursor mode
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 5 Jan 2016 09:10:26 +0000 (10:10 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 5 Jan 2016 14:03:30 +0000 (15:03 +0100)
commitd3c00446179927360380c1511294e5a7ef19e269
tree4a1e1a6b5a889a57389faad53d1a40da771bb113
parente2a16f1c9a70c93a5049a1487d32a584e2a4e5e4
Fix entering inset in visual cursor mode

Improve the test whether cursor has moved in Cursor::posVisLeft. The code for posVisRight had already been fixed for #5764 at 0730c923, but this replaces both tests by the proper == operator.

Fixes bug #9913.
src/Cursor.cpp