]> git.lyx.org Git - lyx.git/commit
At metrics time, store paragraph id too
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 22 Feb 2023 17:09:03 +0000 (18:09 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 3 Mar 2023 09:34:18 +0000 (10:34 +0100)
commit00c39208ac653ba0a2decebcc3d37e0a0956b88b
tree50bd487d507ada6a76a352b7541a5f7a3bf9dc8b
parent190d2ba2c3c1df8b6062b54709613d59f9d5b73d
At metrics time, store paragraph id too

Instead of actually fixing the messiness of InsetInfo, let's just fix
the symptom and avoid the access to Paragraph::id() that was crashing
LyX every time updateBuffer/validate/metrics/draw did not happen in
the right order.

Fixes bug #12639.
src/ParagraphMetrics.cpp
src/ParagraphMetrics.h
src/TextMetrics.cpp