From 71273d9477b88cca86e6724491c1ea337ee96f05 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 13 Jun 2012 21:27:14 +0200 Subject: switch to pygments - faster than geshi - easier to modify the css because there is only one - geshi upstream seems pretty dead Signed-off-by: Florian Pritz --- application/libraries/geshi/magiksf.php | 193 -------------------------------- 1 file changed, 193 deletions(-) delete mode 100644 application/libraries/geshi/magiksf.php (limited to 'application/libraries/geshi/magiksf.php') diff --git a/application/libraries/geshi/magiksf.php b/application/libraries/geshi/magiksf.php deleted file mode 100644 index b6f431ea8..000000000 --- a/application/libraries/geshi/magiksf.php +++ /dev/null @@ -1,193 +0,0 @@ - null, - 'LANG_NAME' => 'MagikSF', - 'COMMENT_SINGLE' => array(1 => '##', 2 => '#%', 3 => '#'), - 'COMMENT_MULTI' => array("_pragma(" => ")"), - //Multiline-continued single-line comments - 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, - 'QUOTEMARKS' => array("'", '"'), - 'ESCAPE_CHAR' => '', - 'KEYWORDS' => array( - 1 => array( - '_block', '_endblock', '_proc', '_endproc', '_loop', '_endloop', - '_method', '_endmethod', - '_protect', '_endprotect', '_protection', '_locking', - '_continue', - ), - 2 => array( - '_self', '_thisthread', '_pragma', '_private', '_abstract', - '_local', '_global', '_dynamic', '_package', '_constant', - '_import', '_iter', '_lock', '_optional', '_recursive', '_super' - ), - 3 => array( - '_if', '_endif', '_then', '_else', '_elif', '_orif', '_andif', '_for', '_over', - '_try', '_endtry', '_when', '_throw', '_catch', '_endcatch', '_handling', - '_finally', '_loopbody', '_return', '_leave', '_with' - ), - 4 => array( - '_false', '_true', '_maybe', '_unset', '_no_way' - ), - 5 => array( - '_mod', '_div', '_or', '_and', '_cf', '_is', '_isnt', '_not', '_gather', '_scatter', - '_allresults', '_clone', '_xor' - ), - 6 => array( - 'def_slotted_exemplar', 'write_string', 'write', 'condition', - 'record_transaction', 'gis_program_manager', 'perform', 'define_shared_constant', - 'property_list', 'rope', 'def_property', 'def_mixin' - ), - ), - 'SYMBOLS' => array( - '(', ')', '{', '}', '[', ']', - '+', '-', '*', '/', '**', - '=', '<', '>', '<<', '>>', - ',', '$', - ), - 'CASE_SENSITIVE' => array( - GESHI_COMMENTS => false, - 1 => false, - 2 => false, - 3 => false, - 4 => false, - 5 => false, - 6 => false - ), - 'STYLES' => array( - 'KEYWORDS' => array( - 1 => 'color: #000000; font-weight: bold;', - 2 => 'color: #ff3f3f;', - 3 => 'color: #3f7f3f; font-weight: bold;', - 4 => 'color: #cc66cc;', - 5 => 'color: #ff3fff; font-weight: bold;', - 6 => 'font-weight: bold;', - ), - 'COMMENTS' => array( - 1 => 'color: #339933; font-weight: bold;', - 2 => 'color: #993333;', - 3 => 'color: #339933;', - 'MULTI' => 'color: #7f7f7f; font-style: italic', - ), - 'ESCAPE_CHAR' => array( - 0 => 'color: #000099; font-weight: bold;' - ), - 'BRACKETS' => array( - 0 => 'color: #ff3f3f;' - ), - 'STRINGS' => array( - 0 => 'color: #ff0000;' - ), - 'NUMBERS' => array( - 0 => 'color: #cc66cc;' - ), - 'METHODS' => array( - 1 => 'color: #202020;', - 2 => 'color: #202020;' - ), - 'SYMBOLS' => array( - 0 => 'color: #ff3f3f;' - ), - 'REGEXPS' => array( - 1 => 'color: #3f3fff;', - 2 => 'color: #3f3fff;', - 3 => 'color: #cc66cc;', - 4 => 'color: #7f3f7f; font-style: italic;', - ), - 'SCRIPT' => array( - ) - ), - 'URLS' => array( - 1 => '', - 2 => '', - 3 => '', - 4 => '', - 5 => '', - 6 => '' - ), - 'OOLANG' => true, - 'OBJECT_SPLITTERS' => array( - 1 => '.' - ), - 'REGEXPS' => array( - 1 => array( - GESHI_SEARCH => '\b[a-zA-Z0-9_]+:', // package identifiers - GESHI_REPLACE => '\\0', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - 2 => array( - GESHI_SEARCH => ':(?:[a-zA-Z0-9!?_]+|(?:[].*?[]))*', //symbols - GESHI_REPLACE => '\\0', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - 3 => array( - GESHI_SEARCH => '%space|%tab|%newline|%.', //characters - GESHI_REPLACE => '\\0', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - 4 => array( - GESHI_SEARCH => '@(?:[a-zA-Z0-9!?_]+|(?:[].*?[]))*', //symbols - GESHI_REPLACE => '\\0', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - ), - 'STRICT_MODE_APPLIES' => GESHI_NEVER, - 'SCRIPT_DELIMITERS' => array( - ), - 'HIGHLIGHT_STRICT_BLOCK' => array( - ), - 'TAB_WIDTH' => 4 -); - -?> \ No newline at end of file -- cgit v1.2.3-24-g4f1b