Andre Poenitz wrote:

>> Only when selecting or moving in/out of selection is that needed.
> 
> Or when the screen is scrolled in response to a cursor movement.

fitCursor takes care of that already (i.e. we update always if fitCursor
returns true)
 
>> We should try to fix this.
> 
> Do you see any performance problems with the current approach?

Under qt it seems to be worse than under xforms... by pressing cursor-right
cpu jumps to 100%, and you see some light blinking sometimes, and the
cursor is not always visible as it should.

> Part of the old update 'problem' was a convoluted logic to decide
> whether to redraw or not. I am happy this is gone. Maybe we should pick
> just a few 'obvious' cases where a redraw is definitely not needed and
> not to try to catch _all_ cases here...

Yep... but cursor right should be one of them ;-)

Alfredo


Reply via email to