]> git.lyx.org Git - features.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>
Mon, 13 Jul 2020 21:43:09 +0000 (23:43 +0200)
commit2e8c9cfc832d876ff66e47ae7aadc30fe9328e9d
tree949c264c3f338b01a8ff408bf48613b251d26054
parent4884476eb6f9b470215a45ca3626be97ef9614e6
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.
src/BufferView.cpp
src/update_flags.h