Helge Hafting wrote:
Abdelrazak Younes wrote:
On LyX side, the main and only reason why there is a full redraw on each cursor movement is because we want to draw to little pink corners in the current formula. It is easy to disable the pink corners though (thus avoiding the full redraw) and if you can live without them, I can give you a patch for that.

I wonder - is it an easy way to limit this redrawing to the entire
current formula rather than everything?

Short answer: no

Long answer: the only optimisation WRT drawing is the singlePar one. Unfortunately:
1) it doesn't apply to math inset, only text.
2) it doesn't apply anyway when a background redraw is required.

As I said, I know how to solve this problem (by separating background and decoration drawing from text drawing). A big part of the infrastructure is already in place. Now, we _only_ have to rewrite the rowpainter; but this is not for 1.5.

Abdel.

Reply via email to