Vincent van Ravesteijn - TNW wrote:
Abdelrazak Younes <[email protected]> writes:
Last time I touched that part, the full updateLabel() call was done only when a new section or caption was created, not with each keystroke. Even when modifying a section, only the relevant toc item was changed.

This is about updateMacros(), not about updateLabels().

Ah, OK, sorry for the confusion.

Anyway, as I said multiple times, updateMacros() should be integrated into updateLabels(). There is no reason why a call this should be called at each keystroke. As a first step i would suggest to just put *one* call at the end of updateLabels() and to erase all other calls. As a second step, the macro update mechanism should be integrated in Inset::updateLabel() (for InsetMathMacro and InsetMathHull I assume) and not done independantly.

Abdel.

Reply via email to