]> git.lyx.org Git - features.git/commit
Introduce new helpers ParagraphMetrics::top/bottom
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 25 Jul 2023 14:31:13 +0000 (16:31 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 5 Apr 2024 11:03:22 +0000 (13:03 +0200)
commit0b6105b9245350e428c73deee88af2cd7c0d4732
tree8050f5e28b635d91c6aed32c2138f2a4a3fddbbe
parent7f85024f80601b15634fb5e771bba51435ad429f
Introduce new helpers ParagraphMetrics::top/bottom

This avoids code with position/ascent/descent that is difficult to follow.

No change in function intended.
src/BufferView.cpp
src/ParagraphMetrics.h
src/TextMetrics.cpp
src/frontends/qt/GuiWorkArea.cpp