Andre Poenitz wrote:
On Wed, Nov 22, 2006 at 04:23:54PM +0100, Abdelrazak Younes wrote:
But the real performance fix is to know if we are still in the same inset or not. I am sure this info is obtainable in some of the following lines but I have no time to look at it.

That's easy. Store the cursor before movemnet and after and base the
decision on this.

When I think about it, this might be a general solution: Just store the
old cursor at the begin of the LFUN handling and at the end try to
figure out what needs to be updated/redrawn from the difference in
cursor positions.

Indeed, that's good idea. I'll try to implement that when I get some free time... unless someone do it before, which I doubt :-(

Abdel.

Reply via email to