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