Version: 3.5.3 (using KDE KDE 3.5.3) Installed from: Compiled From Sources Compiler: gcc 4.0.1 Installed with apple's xtools. powerpc-apple-darwin8-gcc-4.0.1 OS: OS X This bug is very similar to bug number 99370. I decided to repost it because that one is marked as resolved. When editing large javascript files, Quanta becomes very slow, irresponsibe and sometimes crashes. Most of the times it is imposible to keep typing due to the delay and generally I just can't edit javascript files. The delay is considerably longer with certain files (I can send one). Is it possible to turn off the parser for javascript files and treat them as plain text? I tried changing the parser refresh frequency to 0 in Settings->Configure Quanta->Parser and to turn off the sintax highlighting but that didn't work. Do you suggest any other work-around for this while the bug is fixed? FYI: I am running quanta on MacOsX 10.4.6 using Apple's X11, compiled from source with gcc 4.0.1 using the fink commander. The fink commander also compiled and installed from binaries lots of other KDE stuff before compiling quanta. I can find out what packages it compiled and installed if you think it is relevant. Quanta is really the best editor I have tried and it is awesome to be able to run it on MacOsX. Many Thanks!!!
Quanta 3.5.1 on Suse 10.1, simple HTML file, 1000 lines 56kBytes: Editing towards the end of the file feels like you work through a 300 baud modem. Responds to keystrokes within 2-3 seconds on my 1.2Mhz PIII machine. Roland
I have 2000 lines Javascript file and after typing a word it takes about 10 seconds to respond and cursor appears. It's VERY slow :( Processor: 1.7GHz, 512M RAM, Quanta 3.5.1 from SUSE 10.1.
Can you try with 3.5.3? Also if you could send me the file (even if in private) it would help me to find where is the problem.
Created attachment 17140 [details] one of the Javascript files that is causing trouble
I have the same problem on my machine pentium IV 3,2 GHz 1 GB of RAM and Ubuntu 6.04. When I edit a big javascript file (2142 row of code) quanta is very slow. Responds to keystrokes within 1-2 seconds.
The problem is solved for 3.5.5. The reason of slowness was that the javascript file was treated as (X)HTML, and the XML parser was slow because the document didn't really had XML tags. The file detection is now improved and the "empty" DTD is assigned for unknown file types (like JavaScript in this example). As a workaround for previous versions you can manually select the empty DTD for JavaScript files. As for the slowness for a HTML file from reply #1, if you can still reproduce the problem, open a separate bugreport and attach the file to it.