On 10/16/25 12:31 PM, Jean-Marc Lasgouttes wrote:
Le 15/10/2025 à 12:46, Jürgen Spitzmüller a écrit :
Jean-Marc Lasgouttes schrieb am 15.10.2025 12:11 (GMT +02:00):
This is a consequence of commit e8c932ff842c (see below), which adds a
cur.buffer()->updateBuffer();
statement. I could not find the reason for that addition.
Jürgen, do you remember why you had to do this ?
Unfortunately not.
I see now why it is needed (to run InsetQuote::updateBuffer). This
could be done easily, but the real question is probably why so many
updates.
Preliminary work with Gdb tells me that this triggers 5 (!) calls to
TocModel::reset (is that the right thing to look at?).
I think so, yes,
All these come from GuiApplication::updateCurrentView.
I have noticed this previously and once tried to do some work on it. I
never quite did figure out why we got all these calls.
Riki
--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel