Hi all,
the patch I added after the message signature, adds the two angle
bracket symbols used in UNO Idl, they seem missing from the geshi idl
description files.
As an example see at page [1] before and after the patch applied.
Without the patch the angle bracket are converted into &tl; and >
with it they are syntax highlighted as the other parenthesis.
I don't now if the syntax highlighting is the correct one, though.
--
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[1]
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Defining_a_Service
patch follows:
--- geshi/geshi/idl.php.idlfix 2008-03-16 16:55:34.000000000 +0100
+++ geshi/geshi/idl.php 2008-03-29 16:24:32.000000000 +0100
@@ -58,7 +58,12 @@
),
),
'SYMBOLS' => array(
+ 0 => array(
'(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!',
'%', '^', '&', ':', ';'
+ ),
+ 1 => array(
+ '<','>'
+ ),
),
'CASE_SENSITIVE' => array(
GESHI_COMMENTS => true,
@@ -94,7 +99,8 @@
'METHODS' => array(
),
'SYMBOLS' => array(
- 0 => 'color: #66cc66;'
+ 0 => 'color: #66cc66;',
+ 1 => 'color: #808080;'
),
'REGEXPS' => array(
),
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]