Le 25/07/2024 à 10:59, Jürgen Spitzmüller a écrit :
Yes, LyX crashes on this. However, I don't think this is my doing.
I see. It would be unfair to say that it is my doing, though %-]
Did I already say today that I hate updateMacros and have no idea of
what it does ?
Thanks for the bisect.
JMarc
Bisect points me to:
commit 999fb37ebb1aecfda9889fa6a2b2fbb15133f2aa
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date: Sat Jul 20 22:31:34 2024 +0200
Do not run updateMacros if the buffer has not changed
Each buffer now has an id which is increased when it is marked
dirty
(or when one of its relatives is marked dirty).
This can be a big win since updateMacros is very expensive.
In fact, the crash happens somewhere around Buffer::listMacroNames(),
precisely in the call of this function from
InsetMathHull::preparePreview()
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel