On 7/10/24 9:19 AM, Jean-Marc Lasgouttes wrote:
Hello,
The following patches are a backport of the recent patch series which
added the possibility of knowing which paragraph metrics have a
computed position and then fixed situations where the assertion added
in this first patch was triggered.
Adding a new way to assert does not sound good in a stable series, BUT
1/ the assertion is not active in release code (this is not a real crash)
2/ I propose to add 3 more patches which addressed the known assertions.
Moreover, compared to the patch in master where a bad position will be
returned in release code as -10000, the backported code will return -1
as it used to do.
The 3 additional patches are harmless IMO, since all they do is add
checks, add update operations, or remove a SinglePar optimization hint.
Riki, would that be OK?
Yes. Should get plenty of testing before release.
Riki
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel