PreviousNextTracker indexSee it online !

(30/231) 1643915 - Perl Mode - sluggish keystrokes


There is a noticeable "lag" in updating the view between keystrokes using the new Perl Mode perl.xml in jEdit 4.3pre9. There is a few moment's delay after I start keying in text before the characters are displayed in the view.

Editing in perl mode with the 4.3pre8 distro is noticeably "snappier", with virtually no keystroke delay. I probably type at 70+ wpm.

Substituting the perl.xml mode file from the 4.3pre8 release eliminates the lag. Similarly, using the 4.3pre9 perl.xml mode file with 4.3pre8 causes the keystroke lag.

Also, as jEdit 4.3pre8 starts up with the 4.3pre9 perl.xml, 13 error windows open in sequence, stating "An error occurred while parsing C:\Program Files\jEdit\modes\perl.xml, line ?: HASH_CHAR must be exactly one character.".

I assume this means either the mode file parsing has changed in 4.3pre9, making its Perl mode file backward-incompatible, or there is a bug lurking in the perl.xml file.

System configuration:
- IBM PC MT-M 8183-D7U
- Intel P4 3.0 GHz CPU, 1.0 Mb RAM
- Windows 2000 Pro SP4
- Java 1.5.0_10
- jEdit 4.3pre9
--- buffer mode: perl,indent,Cp1252, Unix file format
- CodeBrowser 1.4.3
- Exuberant Ctags 5.6

See my previous posts re CtagsSideKick for more (possibly relevant) info.



Submitted phipster - 2007-01-24 - 22:09:12z Assigned przemo_w
Priority 5 Category text area and syntax packages
Status Open Group None
Resolution None Visibility No


2009-12-06 - 08:03:43z
This problem was reported as a result of fixing another bug #1594520.

Assigning to hertzhaft who did that fix.