]> git.lyx.org Git - lyx.git/commit
Fix paragraph position in TextMetrics::singleParUpdate()
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 13 Jul 2020 21:29:15 +0000 (23:29 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 14 Jul 2020 17:48:55 +0000 (19:48 +0200)
commitd968717940bbad14cabd37ddfca42457adb9e3fb
treef46f81f69969d8fc1f4cf9431c9ab972ff5c2e32
parent43ccceda395789f7a78ad7da6e6fbbdb14b10186
Fix paragraph position in TextMetrics::singleParUpdate()

When running redoParagraph, it may happen that the ascent of the first
row changes. Since the ParagraphMetrics position is actually the
baseline of its first row, it may be necessary to update it.

Fixes bug #11601.

(cherry picked from commit 2e8c9cfc832d876ff66e47ae7aadc30fe9328e9d)
src/BufferView.cpp
src/update_flags.h
status.23x