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/icon.php | 212 ----------------------------------- 1 file changed, 212 deletions(-) delete mode 100644 application/libraries/geshi/icon.php (limited to 'application/libraries/geshi/icon.php') diff --git a/application/libraries/geshi/icon.php b/application/libraries/geshi/icon.php deleted file mode 100644 index e68c2f17f..000000000 --- a/application/libraries/geshi/icon.php +++ /dev/null @@ -1,212 +0,0 @@ - 'Icon', - 'COMMENT_SINGLE' => array(1 => '#'), - 'COMMENT_MULTI' => array(), - 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, - 'QUOTEMARKS' => array('"', '\''), - 'ESCAPE_CHAR' => '\\', - 'KEYWORDS' => array( - 1 => array( - 'break', 'case', 'continue', 'create', 'default', 'do', 'else', - 'end', 'every', 'fail', 'for', 'if', 'import', 'initial', - 'initially', 'invocable', 'link', 'next', 'not', 'of', 'package', - 'procedure', 'record', 'repeat', 'return', 'switch', 'suspend', - 'then', 'to', 'until', 'while' - ), - 2 => array( - 'global', 'local', 'static' - ), - 3 => array( - 'allocated', 'ascii', 'clock', 'collections', - 'column', 'cset', 'current', 'date', 'dateline', 'digits', - 'dump', 'e', 'error', 'errornumber', 'errortext', - 'errorvalue', 'errout', 'eventcode', 'eventsource', 'eventvalue', - 'fail', 'features', 'file', 'host', 'input', 'lcase', - 'letters', 'level', 'line', 'main', 'now', 'null', - 'output', 'phi', 'pi', 'pos', 'progname', 'random', - 'regions', 'source', 'storage', 'subject', 'syserr', 'time', - 'trace', 'ucase', 'version', 'col', 'control', 'interval', - 'ldrag', 'lpress', 'lrelease', 'mdrag', 'meta', 'mpress', - 'mrelease', 'rdrag', 'resize', 'row', 'rpress', 'rrelease', - 'shift', 'window', 'x', 'y' - ), - 4 => array( - 'abs', 'acos', 'any', 'args', 'asin', 'atan', 'bal', 'center', 'char', - 'chmod', 'close', 'cofail', 'collect', 'copy', 'cos', 'cset', 'ctime', 'delay', 'delete', - 'detab', 'display', 'dtor', 'entab', 'errorclear', 'event', 'eventmask', 'EvGet', 'exit', - 'exp', 'fetch', 'fieldnames', 'find', 'flock', 'flush', 'function', 'get', 'getch', - 'getche', 'getenv', 'gettimeofday', 'globalnames', 'gtime', 'iand', 'icom', 'image', - 'insert', 'integer', 'ior', 'ishift', 'ixor', 'key', 'left', 'list', 'load', 'loadfunc', - 'localnames', 'log', 'many', 'map', 'match', 'member', 'mkdir', 'move', 'name', 'numeric', - 'open', 'opmask', 'ord', 'paramnames', 'parent', 'pipe', 'pop', 'pos', 'proc', 'pull', - 'push', 'put', 'read', 'reads', 'real', 'receive', 'remove', 'rename', 'repl', 'reverse', - 'right', 'rmdir', 'rtod', 'runerr', 'seek', 'select', 'send', 'seq', 'serial', 'set', - 'setenv', 'sort', 'sortf', 'sql', 'sqrt', 'stat', 'stop', 'string', 'system', 'tab', - 'table', 'tan', 'trap', 'trim', 'truncate', 'type', 'upto', 'utime', 'variable', 'where', - 'write', 'writes' - ), - 5 => array( - 'Active', 'Alert', 'Bg', 'Clip', 'Clone', 'Color', 'ColorValue', - 'CopyArea', 'Couple', 'DrawArc', 'DrawCircle', 'DrawCurve', 'DrawCylinder', 'DrawDisk', - 'DrawImage', 'DrawLine', 'DrawPoint', 'DrawPolygon', 'DrawRectangle', 'DrawSegment', - 'DrawSphere', 'DrawString', 'DrawTorus', 'EraseArea', 'Event', 'Fg', 'FillArc', - 'FillCircle', 'FillPolygon', 'FillRectangle', 'Font', 'FreeColor', 'GotoRC', 'GotoXY', - 'IdentifyMatrix', 'Lower', 'MatrixMode', 'NewColor', 'PaletteChars', 'PaletteColor', - 'PaletteKey', 'Pattern', 'Pending', 'Pixel', 'PopMatrix', 'PushMatrix', 'PushRotate', - 'PushScale', 'PushTranslate', 'QueryPointer', 'Raise', 'ReadImage', 'Refresh', 'Rotate', - 'Scale', 'Texcoord', 'TextWidth', 'Texture', 'Translate', 'Uncouple', 'WAttrib', - 'WDefault', 'WFlush', 'WindowContents', 'WriteImage', 'WSync' - ), - 6 => array( - 'define', 'include', 'ifdef', 'ifndef', 'else', 'endif', 'error', - 'line', 'undef' - ), - 7 => array( - '_V9', '_AMIGA', '_ACORN', '_CMS', '_MACINTOSH', '_MSDOS_386', - '_MS_WINDOWS_NT', '_MSDOS', '_MVS', '_OS2', '_POR', 'T', '_UNIX', '_POSIX', '_DBM', - '_VMS', '_ASCII', '_EBCDIC', '_CO_EXPRESSIONS', '_CONSOLE_WINDOW', '_DYNAMIC_LOADING', - '_EVENT_MONITOR', '_EXTERNAL_FUNCTIONS', '_KEYBOARD_FUNCTIONS', '_LARGE_INTEGERS', - '_MULTITASKING', '_PIPES', '_RECORD_IO', '_SYSTEM_FUNCTION', '_MESSAGING', '_GRAPHICS', - '_X_WINDOW_SYSTEM', '_MS_WINDOWS', '_WIN32', '_PRESENTATION_MGR', '_ARM_FUNCTIONS', - '_DOS_FUNCTIONS' - ), - 8 => array( - 'line' - ) - ), - 'SYMBOLS' => array( - 1 => array( - '(', ')', '{', '}', '[', ']', '+', '-', '*', '/', '\\', '%', '=', '<', '>', '!', '^', - '&', '|', '?', ':', ';', ',', '.', '~', '@' - ), - 2 => array( - '$(', '$)', '$<', '$>', '$' - ) - ), - 'CASE_SENSITIVE' => array( - GESHI_COMMENTS => false, - 1 => true, - 2 => true, - 3 => true, - 4 => true, - 5 => true, - 6 => true, - 7 => true, - 8 => true - ), - 'STYLES' => array( - 'KEYWORDS' => array( - 1 => 'color: #b1b100;', - 2 => 'color: #b1b100;', - 3 => 'color: #b1b100;', - 4 => 'color: #b1b100;', - 5 => 'color: #b1b100;', - 6 => 'color: #b1b100;', - 7 => 'color: #b1b100;', - 8 => 'color: #b1b100;' - ), - 'COMMENTS' => array( - 1 => 'color: #666666; font-style: italic;', - 'MULTI' => 'color: #666666; font-style: italic;' - ), - 'ESCAPE_CHAR' => array( - 0 => 'color: #000099; font-weight: bold;' - ), - 'BRACKETS' => array( - 0 => 'color: #009900;' - ), - 'STRINGS' => array( - 0 => 'color: #0000ff;' - ), - 'NUMBERS' => array( - 0 => 'color: #cc66cc;', - ), - 'METHODS' => array( - 0 => 'color: #004000;' - ), - 'SYMBOLS' => array( - 1 => 'color: #339933;', - 2 => 'color: #b1b100;' - ), - 'REGEXPS' => array(), - 'SCRIPT' => array() - ), - 'URLS' => array( - 1 => '', - 2 => '', - 3 => '', - 4 => '', - 5 => '', - 6 => '', - 7 => '', - 8 => '' - ), - 'OOLANG' => true, - 'OBJECT_SPLITTERS' => array(1 => '.'), - 'REGEXPS' => array(), - 'STRICT_MODE_APPLIES' => GESHI_NEVER, - 'SCRIPT_DELIMITERS' => array(), - 'HIGHLIGHT_STRICT_BLOCK' => array(), - 'PARSER_CONTROL' => array( - 'KEYWORDS' => array( - 3 => array( - 'DISALLOWED_BEFORE' => '(?<=&)' - ), - 4 => array( - 'DISALLOWED_BEFORE' => "(? "(?![a-zA-Z0-9_\"\'])" - ), - 6 => array( - 'DISALLOWED_BEFORE' => '(?<=\$)' - ), - 8 => array( - 'DISALLOWED_BEFORE' => '(?<=#)' - ) - ) - ) -); - -?> \ No newline at end of file -- cgit v1.2.3-24-g4f1b