Iago Rubio:
I've been playing lately with multiple views on GTK, and I noticed when
reparenting(1) the scintilla widget, that it looses the left pointing
arrow cursor on the scrollbar.
Its a workaround but you could try:
SCI_SETCURSOR(SC_CURSORWAIT)
SCI_SETCURSOR(SC_CURSORNORMAL)
> About the fix, it seems the SetCursor method is not called too much
> times, but I don't know if re-setting the cursor will have a
> performance impact.
SetCursor may be called many times while moving the mouse around.
This can flicker and take time if it is done on every mouse move. Often
the mouse is moved to a point which is in the same type of area
(selected / unselected text or chrome) as before. Its easiest to
optimise this out in SetCursor.
Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest