]> git.lyx.org Git - features.git/commit
Let getPosNearX take horizontal scrolling into account
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 30 Apr 2016 23:27:13 +0000 (01:27 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 3 May 2016 08:53:10 +0000 (10:53 +0200)
commit79be66bdf1ad1bc58231402579d59a8b7189c95e
tree20de0f38b01bc32677c8f4f81f51ccac703122fa
parent390adf75c58093886247003741eb1569c9ad883b
Let getPosNearX take horizontal scrolling into account

If we do not do that, it is not possible to position the cursor after
a long inset with the mouse.

To do this, it is necessary to add the pit information to the Row
object. This is a good idea in any case, and will allow to simplify
some code later on.

Fixes bug #10094.
(cherry picked from commit 8851645799ef67015e49fd75b9dfeed65d685e85)
src/Row.cpp
src/Row.h
src/TextMetrics.cpp
src/TextMetrics.h
status.22x