Hi,
As part of a bug report I got from a user about my project, he complained that on the recent ubuntu release (karmic 9.10) the scintilla based editor flickers when 'brace matches' feature is ON (the ability to colour the matched brace in the editor when the caret is located near its sibling)
So as part of my investigation, I installed C::B 8.02 which is available in the ubuntu repositories, and I can confirm that C::B flickers as well.
Here is a youtube video that I first got with the bug reported:
http://www.youtube.com/watch?v=7TipIOQ945A (http://www.youtube.com/watch?v=7TipIOQ945A)
I can confirm that this bug exist in C::B as well as in wxSTC sample program
The fix is quite simple actually:
in wxscintilla.cpp, in the method: wxScintilla::OnPaint (wxPaintEvent& WXUNUSED(evt))
replace this:
wiht this
#ifdef __WXGTK__
// On Mac / Windows there is no real need for this
wxBufferedPaintDC dc(this);
#else
wxPaintDC dc(this);
#endif
Sorry for not providing patch, but our version of wxscintilla differs in more than just this change
Eran