Location: PHPKode > projects > OpenRat CMS > openrat/geshi/geshi/diff.php
<?php
/*************************************************************************************
 * diff.php
 * --------
 * Author: Conny Brunnkvist (hide@address.com), W. Tasin (hide@address.com)
 * Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/)
 * Release Version: 1.0.7.20
 * Date Started: 2004/12/29
 *
 * Diff-output language file for GeSHi.
 *
 * CHANGES
 * -------
 * 2006/02/27
 *  -  changing language file to use matching of start (^) and end ($) (wt)
 * 
 * 2004/12/29 (1.0.0)
 *  -  First Release
 *
 * TODO (updated 2006/02/27)
 * -------------------------
 *    
 *
 *************************************************************************************
 *
 *     This file is part of GeSHi.
 *
 *   GeSHi is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   GeSHi is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with GeSHi; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 ************************************************************************************/


$language_data = array (
	'LANG_NAME' => 'Diff',
	'COMMENT_SINGLE' => array(),
	'COMMENT_MULTI' => array(),
	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
	'QUOTEMARKS' => array(),
	'ESCAPE_CHAR' => ' ',
	'KEYWORDS' => array(
			1 => array(
				'\ No newline at end of file'
			),
			2 => array(
				'***************' /* This only seems to works in some cases? */
			),
		),
	'SYMBOLS' => array(
		),
	'CASE_SENSITIVE' => array(
        1 => false,
        2 => false
		),
	'STYLES' => array(
		'KEYWORDS' => array(
			1 => 'color: #aaaaaa; font-style: italic;',
			2 => 'color: #dd6611;',
			),
		'COMMENTS' => array(
            ),
		'ESCAPE_CHAR' => array(
            0 => ''
			),
		'BRACKETS' => array(
            0 => ''
			),
		'STRINGS' => array(
            0 => ''
			),
		'NUMBERS' => array(
            0 => ''
			),
		'METHODS' => array(
            0 => ''
			),
		'SYMBOLS' => array(
            0 => ''
			),
		'SCRIPT' => array(
            0 => ''
			),
        'REGEXPS' => array(
			0 => 'color: #440088;',
			1 => 'color: #991111;',
			2 => 'color: #00b000;',
            3 => 'color: #888822;', 
            4 => 'color: #888822;', 
            5 => 'color: #0011dd;', 
            6 => 'color: #440088;', 
			7 => 'color: #991111;',
            8 => 'color: #00b000;', 
			9 => 'color: #888822;',
                        ),
		),
	'URLS' => array(
		),
	'OOLANG' => false,
	'OBJECT_SPLITTER' => '',
	'REGEXPS' => array(
			0 => "[0-9,]+[acd][0-9,]+",
			1 => array(
			GESHI_SEARCH => '^\\&lt;.*$',
			GESHI_REPLACE => '\\0',
			GESHI_MODIFIERS => 'm',
			GESHI_BEFORE => '',
			GESHI_AFTER => ''
			),
			2 => array(
			GESHI_SEARCH => '^\\&gt;.*$',
			GESHI_REPLACE => '\\0',
			GESHI_MODIFIERS => 'm',
			GESHI_BEFORE => '',
			GESHI_AFTER => ''
			),
			3 => array(
			GESHI_SEARCH => '^[\\-]{3}\\s.*$',
			GESHI_REPLACE => '\\0',
			GESHI_MODIFIERS => 'm',
			GESHI_BEFORE => '',
			GESHI_AFTER => ''
			),
			4 => array(
			GESHI_SEARCH => '^(\\+){3}\\s.*$',
			GESHI_REPLACE => '\\0',
			GESHI_MODIFIERS => 'm',
			GESHI_BEFORE => '',
			GESHI_AFTER => ''
			),
			5 => array(
			GESHI_SEARCH => '^\\!.*$',
			GESHI_REPLACE => '\\0',
			GESHI_MODIFIERS => 'm',
			GESHI_BEFORE => '',
			GESHI_AFTER => ''
			),
			6 => array(
			GESHI_SEARCH => '^[\\@]{2}.*$',
			GESHI_REPLACE => '\\0',
			GESHI_MODIFIERS => 'm',
			GESHI_BEFORE => '',
			GESHI_AFTER => ''
			),
			7 => array(
			GESHI_SEARCH => '^\\-.*$',
			GESHI_REPLACE => '\\0',
			GESHI_MODIFIERS => 'm',
			GESHI_BEFORE => '',
			GESHI_AFTER => ''
			),
			8 => array(
			GESHI_SEARCH => '^\\+.*$',
			GESHI_REPLACE => '\\0',
			GESHI_MODIFIERS => 'm',
			GESHI_BEFORE => '',
			GESHI_AFTER => ''
			),
			9 => array(
			GESHI_SEARCH => '^(\\*){3}\\s.*$',
			GESHI_REPLACE => '\\0',
			GESHI_MODIFIERS => 'm',
			GESHI_BEFORE => '',
			GESHI_AFTER => ''
			),
	),
	'STRICT_MODE_APPLIES' => GESHI_NEVER,
	'SCRIPT_DELIMITERS' => array(
		),
	'HIGHLIGHT_STRICT_BLOCK' => array(
		)
);

?>
Return current item: OpenRat CMS