| Issue 57: | Perl Syntax Hilighting Issue | |
| 3 people starred this issue and may be notified of changes. | Back to list |
View this file: http://code.google.com/p/morrison-code/source/browse/trunk/Perl/Object.pm notice after this line $methodName =~ s/.*:://; everything is green. the /// operator in Perl source code apparently causes a problem with the syntax highlighting. |
|
,
May 15, 2009
Yep. Javascript syntax for regex literals doesn't conflict too much with C and java but trying to recognize perl regexs in code that might not be perl causes bad things to happen. Do you know of a simple grammar that handles a good chunk of perl so that I can roll a perl mode? |
|
,
May 30, 2009
I think the //, m//, tr/// and s/// operators are probably the ones that will cause the most problems. Here is an example of some JavaScript that someone wrote to highlight perl syntax: http://www.perlmonks.org/?node_id=336126 |
|
,
Aug 14, 2009
Issue 83 has been merged into this issue. |
|
,
Sep 29, 2009
This also applies to the other quote operators http://perldoc.perl.org/perlop.html#Quote-Like-Operators |
|
|
|