Richard Heck wrote:
Stefan Schimanski wrote:
FYI: http://bugzilla.lyx.org/show_bug.cgi?id=3851
First guess: looking at Undo::undoText... updateLabels(*buf) will
trigger a TOC
update. The cursor of the bufferview is still broken then. It is only
fixed
after that call. But ControlToc::getCurrentTocItem(size_t type)
finally (see
backtrace) uses the bufferview cursor for something.
So the solution is to delay the updateLabels() call until everything is
done.
It has been proposed in a different thread that all automatic updating
of the TOC be disabled by removing this call so that the update would be
done only on use or request. I don't remember if there was a resolution,
and Abdel should obviously speak to this. But Bo and I found, as we
tried to sort out some of these bugs, that it was proving very hard to
get the update done at all the right times.
Not very hard, see further discussion with Bo.
Abdel.