Bug #7248 2006-04-23 07:18

nickdgd

editor responses slowly when editing a big file

When editing a big file(200 more lines, in fact it's not very big), the words appear on the screen about 1 second later than I typed them on the keyboard. And when I use the arrow keys, the cursor moves not continuously and smoothly.

This problem exists even when I disable all the plug-ins.

My system is FreeBSD 6.0, Xorg 6.9. And Code::Blocks is built with wxWidgets 2.6.3

Category
Application::Editor
Group
 
Status
Open
Close date
 
Assigned to
 
thomasdenk 2006-04-23 18:22

A couple of people have reported similar problems with Xorg under various Linux distros. For some reason, wxScintilla and XOrg don't seem to like each other.

I don't know the actual reason, sorry. There is no good reason why that should be the case, there's not much going on while you type...

I can edit files that are tens of megabytes in size without any noticeable lag under Ubuntu Breezy, and Fedora Core 5. Other people are confirmedly unable to edit anything larger than a few dozen kilobytes with comparable hardware and the same operating systems (possibly slightly different setup).

polygon7 2006-10-14 18:03

I noticed similar thing long time ago when I used non unicode wxGTK and non unicode C::B - maybe this is the problem?

nickdgd 2006-10-15 23:06

I upgraded my system to:

FreeBSD 6.1, Xorg 6.9

Code::Blocks is built with wxgtk2-unicode-2.6.3

but it was not helpful

none 2007-05-21 09:50

I have similar problem in Windows.

A simple C++ file with many enum declaration, ~4k lines.

C::B just freezes for several seconds every time I do anything.

rickg22 2007-07-20 05:19

Does the problem persist with the latest build? Try compiling with wxwidgets version 2.8.4. Also, mind sending me by e-mail a zipped file with the test code?

For testing purposes, try reducing the file to half its size, and see if the problem disappears completely or just the delay is reduced.