File geshi/geshi/idl.php
Last commit: Fri Nov 23 00:12:00 2007 +0100 dankert Farbige Darstellung von Code-Bl?cken mit Hilfe der Bibliothek GESHI.
1 <?php 2 /************************************************************************************* 3 * idl.php 4 * ------- 5 * Author: Cedric Bosdonnat (cedricbosdo@openoffice.org) 6 * Copyright: (c) 2006 Cedric Bosdonnat 7 * Release Version: 1.0.7.20 8 * Date Started: 2006/08/20 9 * 10 * Unoidl language file for GeSHi. 11 * 12 * 2006/08/20 (1.0.0) 13 * - First Release 14 * 15 ************************************************************************************* 16 * 17 * This file is part of GeSHi. 18 * 19 * GeSHi is free software; you can redistribute it and/or modify 20 * it under the terms of the GNU General Public License as published by 21 * the Free Software Foundation; either version 2 of the License, or 22 * (at your option) any later version. 23 * 24 * GeSHi is distributed in the hope that it will be useful, 25 * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 * GNU General Public License for more details. 28 * 29 * You should have received a copy of the GNU General Public License 30 * along with GeSHi; if not, write to the Free Software 31 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 32 * 33 ************************************************************************************/ 34 35 36 $language_data = array ( 37 'LANG_NAME' => 'Uno Idl', 38 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'), 39 'COMMENT_MULTI' => array('/*' => '*/'), 40 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 41 'QUOTEMARKS' => array("'", '"'), 42 'ESCAPE_CHAR' => '\\', 43 'KEYWORDS' => array( 44 1 => array( 45 'published', 'get', 'set', 'service', 'singleton', 'type', 'module', 'interface', 'struct', 46 'const', 'constants', 'exception', 'enum', 'raises', 'typedef' 47 ), 48 2 => array( 49 'bound', 'maybeambiguous', 'maybedefault', 'maybevoid', 'oneway', 'optional', 50 'readonly', 'in', 'out', 'inout', 'attribute', 'transient', 'removable' 51 ), 52 3 => array( 53 'True', 'False', 'TRUE', 'FALSE' 54 ), 55 4 => array( 56 'string', 'long', 'byte', 'hyper', 'boolean', 'any', 'char', 'double', 'long', 57 'void', 'sequence', 'unsigned', '...' 58 ), 59 ), 60 'SYMBOLS' => array( 61 '(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':', ';' 62 ), 63 'CASE_SENSITIVE' => array( 64 GESHI_COMMENTS => true, 65 1 => true, 66 2 => true, 67 3 => true, 68 4 => true, 69 ), 70 'STYLES' => array( 71 'KEYWORDS' => array( 72 1 => 'color: #990078; font-weight: bold', 73 2 => 'color: #36dd1c;', 74 3 => 'color: #990078; font-weight: bold', 75 4 => 'color: #0000ec;' 76 ), 77 'COMMENTS' => array( 78 1 => 'color: #3f7f5f;', 79 2 => 'color: #808080;', 80 'MULTI' => 'color: #4080ff; font-style: italic;' 81 ), 82 'ESCAPE_CHAR' => array( 83 0 => 'color: #666666; font-weight: bold;' 84 ), 85 'BRACKETS' => array( 86 0 => 'color: #808080;' 87 ), 88 'STRINGS' => array( 89 0 => 'color: #ff0000;' 90 ), 91 'NUMBERS' => array( 92 0 => 'color: #0000dd;' 93 ), 94 'METHODS' => array( 95 ), 96 'SYMBOLS' => array( 97 0 => 'color: #66cc66;' 98 ), 99 'REGEXPS' => array( 100 ), 101 'SCRIPT' => array( 102 ) 103 ), 104 'URLS' => array( 105 ), 106 'OOLANG' => false, 107 'OBJECT_SPLITTERS' => array( 108 1 => '::' 109 ), 110 'REGEXPS' => array( 111 ), 112 'STRICT_MODE_APPLIES' => GESHI_NEVER, 113 'SCRIPT_DELIMITERS' => array( 114 ), 115 'HIGHLIGHT_STRICT_BLOCK' => array( 116 ) 117 ); 118 119 ?>
Downloadgeshi/geshi/idl.php
History Fri, 23 Nov 2007 00:12:00 +0100 dankert Farbige Darstellung von Code-Bl?cken mit Hilfe der Bibliothek GESHI.