Stefan Schimanski wrote:
Hi!

Another macro bug fixed: http://bugzilla.lyx.org/show_bug.cgi?id=3449
The problem was no metric calculation was done for insets on cursor movement. Of course scrolling or entering character caused the missing metric calls, hence the described behavior in the bug report.

I had first tried to overwrite the edit method of the InsetMathMacro

Do you mean the editXY() method? InsetMathNest::edit() exists but not InsetMathMacro::edit().

class, but then found out that it is not called (anymore?) by InsetMathNest. Is this intentional? Instead only idxLast and idxFirst are called. Is the edit method dead code?!

You can reimplement InsetMathMacro::edit() if you reckon the fix would be better/cleaner.

Abdel.

Reply via email to