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.9
8 * CVS Revision Version: $Revision: 1.11 $
9 * Date Started: 2004/12/29
10 * Last Modified: $Date: 2006/04/23 01:14:41 $
12 * Diff-output language file for GeSHi.
17 * - changing language file to use matching of start (^) and end ($) (wt)
22 * TODO (updated 2006/02/27)
23 * -------------------------
26 *************************************************************************************
28 * This file is part of GeSHi.
30 * GeSHi is free software; you can redistribute it and/or modify
31 * it under the terms of the GNU General Public License as published by
32 * the Free Software Foundation; either version 2 of the License, or
33 * (at your option) any later version.
35 * GeSHi is distributed in the hope that it will be useful,
36 * but WITHOUT ANY WARRANTY; without even the implied warranty of
37 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38 * GNU General Public License for more details.
40 * You should have received a copy of the GNU General Public License
41 * along with GeSHi; if not, write to the Free Software
42 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
44 ************************************************************************************/
47 $language_data = array (
48 'LANG_NAME' => 'Diff',
49 'COMMENT_SINGLE' => array(),
50 'COMMENT_MULTI' => array(),
51 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE
,
52 'QUOTEMARKS' => array(),
56 '\ No newline at end of file'
59 '***************' /* This only seems to works in some cases? */
64 'CASE_SENSITIVE' => array(
70 1 => 'color: #aaaaaa; font-style: italic;',
71 2 => 'color: #dd6611;',
75 'ESCAPE_CHAR' => array(
97 0 => 'color: #440088;',
98 1 => 'color: #991111;',
99 2 => 'color: #00b000;',
100 3 => 'color: #888822;',
101 4 => 'color: #888822;',
102 5 => 'color: #0011dd;',
103 6 => 'color: #440088;',
104 7 => 'color: #991111;',
105 8 => 'color: #00b000;',
106 9 => 'color: #888822;',
112 'OBJECT_SPLITTER' => '',
114 0 => "[0-9,]+[acd][0-9,]+",
116 GESHI_SEARCH
=> '^\\<.*$',
117 GESHI_REPLACE
=> '\\0',
118 GESHI_MODIFIERS
=> 'm',
123 GESHI_SEARCH
=> '^\\>.*$',
124 GESHI_REPLACE
=> '\\0',
125 GESHI_MODIFIERS
=> 'm',
130 GESHI_SEARCH
=> '^[\\-]{3}\\s.*$',
131 GESHI_REPLACE
=> '\\0',
132 GESHI_MODIFIERS
=> 'm',
137 GESHI_SEARCH
=> '^(\\+){3}\\s.*$',
138 GESHI_REPLACE
=> '\\0',
139 GESHI_MODIFIERS
=> 'm',
144 GESHI_SEARCH
=> '^\\!.*$',
145 GESHI_REPLACE
=> '\\0',
146 GESHI_MODIFIERS
=> 'm',
151 GESHI_SEARCH
=> '^[\\@]{2}.*$',
152 GESHI_REPLACE
=> '\\0',
153 GESHI_MODIFIERS
=> 'm',
158 GESHI_SEARCH
=> '^\\-.*$',
159 GESHI_REPLACE
=> '\\0',
160 GESHI_MODIFIERS
=> 'm',
165 GESHI_SEARCH
=> '^\\+.*$',
166 GESHI_REPLACE
=> '\\0',
167 GESHI_MODIFIERS
=> 'm',
172 GESHI_SEARCH
=> '^(\\*){3}\\s.*$',
173 GESHI_REPLACE
=> '\\0',
174 GESHI_MODIFIERS
=> 'm',
179 'STRICT_MODE_APPLIES' => GESHI_NEVER
,
180 'SCRIPT_DELIMITERS' => array(
182 'HIGHLIGHT_STRICT_BLOCK' => array(