GeSHi modifications
From OpenOffice.org Wiki
GeSHi has had to be modified a little to make it work correctly in the OpenOffice.org Wiki environment.
idl.php has been patched:
--- 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(
),
Patch provided by Giuseppe Castagno

