2 /*************************************************************************************
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.19
8 * Date Started: 2004/12/29
10 * Diff-output language file for GeSHi.
15 * - changing language file to use matching of start (^) and end ($) (wt)
20 * TODO (updated 2006/02/27)
21 * -------------------------
24 *************************************************************************************
26 * This file is part of GeSHi.
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.
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.
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
42 ************************************************************************************/
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(),
54 '\ No newline at end of file'
57 '***************' /* This only seems to works in some cases? */
62 'CASE_SENSITIVE' => array(
68 1 => 'color: #aaaaaa; font-style: italic;',
69 2 => 'color: #dd6611;',
73 'ESCAPE_CHAR' => 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;',
110 'OBJECT_SPLITTER' => '',
112 0 => "[0-9,]+[acd][0-9,]+",
114 GESHI_SEARCH
=> '^\\<.*$',
115 GESHI_REPLACE
=> '\\0',
116 GESHI_MODIFIERS
=> 'm',
121 GESHI_SEARCH
=> '^\\>.*$',
122 GESHI_REPLACE
=> '\\0',
123 GESHI_MODIFIERS
=> 'm',
128 GESHI_SEARCH
=> '^[\\-]{3}\\s.*$',
129 GESHI_REPLACE
=> '\\0',
130 GESHI_MODIFIERS
=> 'm',
135 GESHI_SEARCH
=> '^(\\+){3}\\s.*$',
136 GESHI_REPLACE
=> '\\0',
137 GESHI_MODIFIERS
=> 'm',
142 GESHI_SEARCH
=> '^\\!.*$',
143 GESHI_REPLACE
=> '\\0',
144 GESHI_MODIFIERS
=> 'm',
149 GESHI_SEARCH
=> '^[\\@]{2}.*$',
150 GESHI_REPLACE
=> '\\0',
151 GESHI_MODIFIERS
=> 'm',
156 GESHI_SEARCH
=> '^\\-.*$',
157 GESHI_REPLACE
=> '\\0',
158 GESHI_MODIFIERS
=> 'm',
163 GESHI_SEARCH
=> '^\\+.*$',
164 GESHI_REPLACE
=> '\\0',
165 GESHI_MODIFIERS
=> 'm',
170 GESHI_SEARCH
=> '^(\\*){3}\\s.*$',
171 GESHI_REPLACE
=> '\\0',
172 GESHI_MODIFIERS
=> 'm',
177 'STRICT_MODE_APPLIES' => GESHI_NEVER
,
178 'SCRIPT_DELIMITERS' => array(
180 'HIGHLIGHT_STRICT_BLOCK' => array(