Huge slowdown in defualt IDE

BlitzMax Forums/BlitzMax Bug Reports/Huge slowdown in defualt IDE

When editing large documents in the default IDE scrolling slows down to a crawl, even on fast computers. Just load Grey Aliens Framework for a good example.

I assume that this is a well known problem but I juts wanted to know will it ever be looked into as not everyone wants to switch\buy another IDE.

Thanks for reading,
Jason.

The IDE that came with the official 1.30 release, or the latest SVN version?

Latest SVN version.

Jason.

It's pretty okay for me but I did notice that on my ibook which is a 300mhz G3 processor, while smaller programs are okay, anything larger than a few screens starts to slow way down, sometimes taking several seconds every time I press a key.

This happens also on Blitz3D IDE on XP - BIG files takes ages to load, while the same files on Win98 loads in a blink. (Yeah, and I tried on 3 different machines, all with XP, slow loading - on Win98, almost instantly)

Maybe it's the way it loads the file and try to parse/color the keywords?

Could it be because of Win32MaxGUIEx?

I think it probably is to do with the work involved in tokenizing the file and setting colors for various types of syntax, etc, cus I can use TextEdit on the same slow ibook and it'll be really responsive cus it's just plain text.

I'm going to treat this as a bug as I am scared MaxGui/MaxIDE has lost some of it's performance characteristics.

Jason can you please post your system details and if possible results of following:

- the size (in lines) of the blitzmax/doc/bmxmods/commands.txt file on your system

- the length in time it takes to load and scroll to the bottom of the blitzmax/src/maxide/maxide.bmx source file

- disable syntax highlighting from the options and repeat above test

It may not be the syntax highlighting as it is easy for the code tree to slow things to a crawl when it is malfunctioning.

Thanks!

Hi skidracer, the file itself is around 12000 lines long. Loading is not the problem it`s just the scrolling that produces the massive slow down which makes working on things slow but not impossible. After disabling syntax highlighting the problem goes completely.

I`m also running Vista at the moment but recall XP doing the same thing too.

Strangely, things seem speedier at the top of the program (scrolling in IDE) listing compared to the bottom.

Whilst you are looking at the IDE code, would it at all be possible to add the hilighting of numbers back in that we used to have in the B3D IDE? I found it made code look much more readable and greatly miss it in BMax. Is there a reason why it was not included this time around?

Hope this helps,

Jason.

Whilst you are looking at the IDE code, would it at all be possible to add the hilighting of numbers back in

skid, if up for it feel free to pinch code from CE IDE for number highlighting - I seem to recall it was fairly obvious compared to original IDE. (obviously goes directly against your statement of wanting to ensure it's still speedy, but it doesn't sound like highlighting is the issue, just scrolling).

Number Highlighting would indeed be nice to have again...