Trenton Schulz wrote:
So, I fired up Shark and Quartz Debug to take a look at why things
are so slow when moving around in a math formula. It seems that
when I'm moving around in normal text, the area around the cursor
is updated, which is what I would expect and why moving through
normal text is pretty fast. However, if I move into the area for a
math expression, it seems that the entire text area is updated
followed by the vertical scroll bar. This happens for every single
cursor movement, which I can imagine is why it feels so much
slower moving through a mathematical expression. I'm not familiar
with how LyX does it's drawing, but I would expect that if moving
through a math expression would only update a small area of screen
(like in normal text or footnotes), things should be a bit snappier.
...
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 read about this patch and wondered if its possible to get it. 1.5
is unbearably slow but I really like 1.5 otherwise. Great work, really.
So, I would like to build it myself and use the patch, would be great
if you can send it to me.
Greetings, astifter