Menu

#764 SCI_GOTOPOS: Remove Redraw() call?

closed
Scintilla (391)
5
2011-02-03
2010-12-27
No

In the handling for SCI_GOTOPOS, is the call to Redraw() really necessary?

It appears to paint correctly without it, and the call isn't present in the handling for other commands that move the caret / clear the selection, e.g. SCI_GOTOLINE, SCI_SETSEL, SCI_CHARRIGHT.

(I ask because I'm finding Redraw() to be a real perf-killer under VMware.)

Discussion

  • Neil Hodgson

    Neil Hodgson - 2010-12-28

    Removing the Redraw is probably safe. Committed.

     
  • Neil Hodgson

    Neil Hodgson - 2010-12-28
    • assigned_to: nobody --> nyamatongwe
     
  • Neil Hodgson

    Neil Hodgson - 2011-02-03
    • status: open --> closed
     

Log in to post a comment.