Re: Perl sytax patch for \n and .

2005-05-15 Thread Matthew
Yep and we also need highlighting for variables inside double quotes.

-- 
Matt
[EMAIL PROTECTED]On 5/15/05, Leonard den Ottolander [EMAIL PROTECTED]
 wrote:Hi Matthew,On Wed, 2005-05-04 at 00:17, Matthew wrote: + keyword \\n brightgreen
How about \\t and \\r. Do we need those as well? Any others?Leonard.--mount -t life -o ro /dev/dna /genetic/research___Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Perl sytax patch for \n and .

2005-05-03 Thread Matthew
Hello,

I have made some minor improvement to the syntax highlighting for perl scripts.
The improvements are highlighting for \n inside double quotes and highlight for . ( used in perl to join strings ).
These are very minor but are very handy when writing in perl.
This is a diff file patched against the latest CVS ( ran diff with -c so that the context of the changes can be seen )
===
*** perl.syntax.cvs 2005-05-04 10:01:31.0 +1200
--- perl.syntax 2005-05-04 10:02:58.0 +1200
***
*** 90,95 
--- 90,96 
 keyword [ brightcyan
 keyword ] brightcyan
 keyword , brightcyan
+ keyword . brightcyan 
 keyword .. brightcyan
 keyword : brightcyan
 keyword ; brightmagenta
***
*** 349,354 
--- 350,356 
 
 context   green
 keyword \\ brightgreen
+ keyword \\n brightgreen
 keyword  brightgreen
 context ' ' brightgreen
 keyword \\' green
===

Thanks,

-- Matt[EMAIL PROTECTED]

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel