jEdit Community - Resources for users of the jEdit Text Editor
Javascript Editing Performance
Submitted by seani on Friday, 24 August, 2007 - 14:19
Hi,

I'm changing some largish JS source code files (5000 ~ 10,000 lines), and I've noticed that there's quite pause when I type a function name followed by a "(" character in these files.

I'd guess this is something to do with some sort of code-completion/parsing. Any insights, and how would I turn off whatever behaviour might be causing the delay?

Thanks

Sean
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
version?
by blueyed on Thu, 30/08/2007 - 00:20
Which jEdit version are you using?

I hope that it's not 4.3pre10 (or SVN), because I've added a
performance fix for the "finding the matching bracket" code.

If you are using 4.2 (or older), please try the latest dev release (4.3pre11).

If you still experience the same slowness, please file a bug at http://sourceforge.net/tracker/?group_id=588&atid=100588 (with a way to reproduce it easily).

Thank you and good luck.
 
please try the latest dev release (4.3pre11).
by George Dunham on Fri, 31/08/2007 - 18:19
How do I download this version?

Regards
George
My Custom Buttons
 
You would have to get it from
by blueyed on Sun, 09/09/2007 - 21:16
You would have to get it from SVN and build it yourself, using ant.
IIRC there was some "daily build" somewhere, but I could not find it.
 
Versions
by seani on Thu, 30/08/2007 - 12:21
Oh, quite right:

4.3pre10, using Java 1.6.0_02

And my initial report is innacurate: there is no apparent lag when the opening bracket is typed, but the *subsequent* character lags badly (a couple of seconds). It doesn't seem to matter what this character is, i.e. it isn't restricted to other potential delimiters).

I can't add the exact file where this behaviour manifests itself (company policy), but I'l try to concoct one of similar size that exhibits the same behaviour.
 
Please find a file where this
by blueyed on Sun, 09/09/2007 - 20:56
Please find a file where this is reproduceable and create a bug report for it.
Thanks.
User login
Browse archives
« September 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   98100
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17480
Advanced HTML edit mode   1.0   16212
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14299