File geshi/geshi/diff.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 * diff.php 4 * -------- 5 * Author: Conny Brunnkvist (conny@fuchsia.se), W. Tasin (tasin@fhm.edu) 6 * Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/) 7 * Release Version: 1.0.7.20 8 * Date Started: 2004/12/29 9 * 10 * Diff-output language file for GeSHi. 11 * 12 * CHANGES 13 * ------- 14 * 2006/02/27 15 * - changing language file to use matching of start (^) and end ($) (wt) 16 * 17 * 2004/12/29 (1.0.0) 18 * - First Release 19 * 20 * TODO (updated 2006/02/27) 21 * ------------------------- 22 * 23 * 24 ************************************************************************************* 25 * 26 * This file is part of GeSHi. 27 * 28 * GeSHi is free software; you can redistribute it and/or modify 29 * it under the terms of the GNU General Public License as published by 30 * the Free Software Foundation; either version 2 of the License, or 31 * (at your option) any later version. 32 * 33 * GeSHi is distributed in the hope that it will be useful, 34 * but WITHOUT ANY WARRANTY; without even the implied warranty of 35 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 36 * GNU General Public License for more details. 37 * 38 * You should have received a copy of the GNU General Public License 39 * along with GeSHi; if not, write to the Free Software 40 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 41 * 42 ************************************************************************************/ 43 44 45 $language_data = array ( 46 'LANG_NAME' => 'Diff', 47 'COMMENT_SINGLE' => array(), 48 'COMMENT_MULTI' => array(), 49 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 50 'QUOTEMARKS' => array(), 51 'ESCAPE_CHAR' => ' ', 52 'KEYWORDS' => array( 53 1 => array( 54 '\ No newline at end of file' 55 ), 56 2 => array( 57 '***************' /* This only seems to works in some cases? */ 58 ), 59 ), 60 'SYMBOLS' => array( 61 ), 62 'CASE_SENSITIVE' => array( 63 1 => false, 64 2 => false 65 ), 66 'STYLES' => array( 67 'KEYWORDS' => array( 68 1 => 'color: #aaaaaa; font-style: italic;', 69 2 => 'color: #dd6611;', 70 ), 71 'COMMENTS' => array( 72 ), 73 'ESCAPE_CHAR' => array( 74 0 => '' 75 ), 76 'BRACKETS' => array( 77 0 => '' 78 ), 79 'STRINGS' => array( 80 0 => '' 81 ), 82 'NUMBERS' => array( 83 0 => '' 84 ), 85 'METHODS' => array( 86 0 => '' 87 ), 88 'SYMBOLS' => array( 89 0 => '' 90 ), 91 'SCRIPT' => array( 92 0 => '' 93 ), 94 'REGEXPS' => array( 95 0 => 'color: #440088;', 96 1 => 'color: #991111;', 97 2 => 'color: #00b000;', 98 3 => 'color: #888822;', 99 4 => 'color: #888822;', 100 5 => 'color: #0011dd;', 101 6 => 'color: #440088;', 102 7 => 'color: #991111;', 103 8 => 'color: #00b000;', 104 9 => 'color: #888822;', 105 ), 106 ), 107 'URLS' => array( 108 ), 109 'OOLANG' => false, 110 'OBJECT_SPLITTER' => '', 111 'REGEXPS' => array( 112 0 => "[0-9,]+[acd][0-9,]+", 113 1 => array( 114 GESHI_SEARCH => '^\\<.*$', 115 GESHI_REPLACE => '\\0', 116 GESHI_MODIFIERS => 'm', 117 GESHI_BEFORE => '', 118 GESHI_AFTER => '' 119 ), 120 2 => array( 121 GESHI_SEARCH => '^\\>.*$', 122 GESHI_REPLACE => '\\0', 123 GESHI_MODIFIERS => 'm', 124 GESHI_BEFORE => '', 125 GESHI_AFTER => '' 126 ), 127 3 => array( 128 GESHI_SEARCH => '^[\\-]{3}\\s.*$', 129 GESHI_REPLACE => '\\0', 130 GESHI_MODIFIERS => 'm', 131 GESHI_BEFORE => '', 132 GESHI_AFTER => '' 133 ), 134 4 => array( 135 GESHI_SEARCH => '^(\\+){3}\\s.*$', 136 GESHI_REPLACE => '\\0', 137 GESHI_MODIFIERS => 'm', 138 GESHI_BEFORE => '', 139 GESHI_AFTER => '' 140 ), 141 5 => array( 142 GESHI_SEARCH => '^\\!.*$', 143 GESHI_REPLACE => '\\0', 144 GESHI_MODIFIERS => 'm', 145 GESHI_BEFORE => '', 146 GESHI_AFTER => '' 147 ), 148 6 => array( 149 GESHI_SEARCH => '^[\\@]{2}.*$', 150 GESHI_REPLACE => '\\0', 151 GESHI_MODIFIERS => 'm', 152 GESHI_BEFORE => '', 153 GESHI_AFTER => '' 154 ), 155 7 => array( 156 GESHI_SEARCH => '^\\-.*$', 157 GESHI_REPLACE => '\\0', 158 GESHI_MODIFIERS => 'm', 159 GESHI_BEFORE => '', 160 GESHI_AFTER => '' 161 ), 162 8 => array( 163 GESHI_SEARCH => '^\\+.*$', 164 GESHI_REPLACE => '\\0', 165 GESHI_MODIFIERS => 'm', 166 GESHI_BEFORE => '', 167 GESHI_AFTER => '' 168 ), 169 9 => array( 170 GESHI_SEARCH => '^(\\*){3}\\s.*$', 171 GESHI_REPLACE => '\\0', 172 GESHI_MODIFIERS => 'm', 173 GESHI_BEFORE => '', 174 GESHI_AFTER => '' 175 ), 176 ), 177 'STRICT_MODE_APPLIES' => GESHI_NEVER, 178 'SCRIPT_DELIMITERS' => array( 179 ), 180 'HIGHLIGHT_STRICT_BLOCK' => array( 181 ) 182 ); 183 184 ?>
Downloadgeshi/geshi/diff.php
History Fri, 23 Nov 2007 00:12:00 +0100 dankert Farbige Darstellung von Code-Bl?cken mit Hilfe der Bibliothek GESHI.