Jean-Marc Lasgouttes wrote:
Stefan Schimanski <[EMAIL PROTECTED]> writes:

Well, I reorganize the insets in the MathData. Not sure if it makes
sense to use mutable here. In fact this question suggests that
updateMacros should be called from somewhere else, not the metrics
method. But of course I don't want to integrate a third non-const
pass to the rendering for this stuff. Does anybody have a good idea
how to do integrate this in a cleaner way?

When labels are updated, Inset::updateLabels is called on all insets
in the text. I do not know whether it would make sense to implement
that for math macros.

That makes sense. The best solution would be to just update all reference to the currently edited macro. Could you enlighten me as to why this is not possible actually? This would mean that each macro keeps its own list of reference but I don't see anything wrong with that. I am not sure what I am saying is making some sense...

Abdel.

Reply via email to