Armel Asselin:

> so my first question: what is wxWakeUpIdle( ) for exactly in the context of
> Window::Invalidate??? ? could we remove that or find a way to send call it
> once per invalidation round?

   The idle processing in Scintilla is to perform background wrapping.
When you set a marker, the margin is redrawn by invalidating that
region. The invalidation code calls NeedWrapping to see if background
wrapping needs to be kicked off, in which case SetIdle(true) is called
which should avoid doing anything if the idler is already running. I
don't think that the Win32 native version will see your reported
behaviour. Possibly, the wxWidgets code can't determine if it is
already idling and so always calls wxWakeUpIdle and sends a message.
You could examine the code or try turning off wrapping while doing the
marking.

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to