jEdit Community - Resources for users of the jEdit Text Editor
Pb in highlighting syntax in perl mode
Submitted by manu58 on Tuesday, 11 September, 2007 - 11:17
Hello everybody

I have a pb with jedit 4.3pre10 using 4.6.0 in perl mode:

When I write:

print "I'm saying \"coucou\"\n";

the coloring system is broken. All the words: I'm saying \"coucou\"\n should we colored in pink, because this is put between external quotes, and the internal quotes are escaped. Instead of this, the word coucou is colored in BLACK, which means that jedit does not understand that tes internal quotes are escaped.

Another example:

print "The files are called \"/foo\" and /bar \n";

Here, the characters foo\" and are considered as a regular expression, because of the 2 /. It is obviously false, and the highlighting system is completely confused, because it does not see the 2nd \", so that he believes that every following code is between quotes....

Any solution ?
User login
Browse archives
« March 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
31
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   82339
Context Free Art (*.cfdg)   0.31   46046
JBuilder scheme   .001   18487
BBEdit scheme   1.0   18108
ColdFusion scheme   1.0   18016
R Edit Mode - extensive version   0.1   17465
Advanced HTML edit mode   1.0   16198
Matlab Edit Mode   1.0   16060
jEdit XP icons   1.0   15221
XP icons for jEdit   1.1   14285