X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTextMetrics.h;h=32282f76ce9449067ba082c4d2b4803153c7a31c;hb=4b7f1b3c3918cd32070c72b6d8e95a888981c7a2;hp=be44d4f45ae506bd3aaee7597d486021546d4700;hpb=742bf1b950cf3863c3ea3c50080d62616408c5e6;p=lyx.git diff --git a/src/TextMetrics.h b/src/TextMetrics.h index be44d4f45a..32282f76ce 100644 --- a/src/TextMetrics.h +++ b/src/TextMetrics.h @@ -179,7 +179,7 @@ public: /// returns the row near the specified y-coordinate in a given paragraph /// (relative to the screen). If assert_in_view is true, it is made sure /// that the row is on screen completely; this might change the given pit. - Row const & getPitAndRowNearY(int y, pit_type & pit, + Row const & getPitAndRowNearY(int & y, pit_type & pit, bool assert_in_view, bool up); /// returns the paragraph number closest to screen y-coordinate.