Hi,
I dont know if this is the same problem, but a year ago I had similar problem - using another application which used wxScintilla - and after some profiling I seem to found the root cause for that particular problem:
wxDC::GetTextExtent - On Linux is
very slow. Removing the call to this function simply removed the problem.
This call was hiding when calling to wxScintilla::TextWidth() - avoiding this function simply fixes the problem.
this issue was reported here:
http://forums.codeblocks.org/index.php/topic,2869.45.htmlsearch for my second reply from top (username: eranif)
Eran