root/trunk/lib/geshi/ini.php

Revision 2, 3.2 kB (checked in by fabien, 6 years ago)

initial import

  • Property svn:mime-type set to text/x-php
  • Property svn:keywords set to Id
Line 
1 <?php
2 /*************************************************************************************
3  * ini.php
4  * --------
5  * Author: deguix (cevo_deguix@yahoo.com.br)
6  * Copyright: (c) 2005 deguix
7  * Release Version: 1.0.7.5
8  * CVS Revision Version: $Revision: 1.4 $
9  * Date Started: 2005/03/27
10  * Last Modified: $Date: 2005/10/22 07:52:59 $
11  *
12  * INI language file for GeSHi.
13  *
14  * CHANGES
15  * -------
16  * 2005/04/05 (1.0.0)
17  *   -  First Release
18  *
19  * TODO (updated 2005/03/27)
20  * -------------------------
21  *
22  *************************************************************************************
23  *
24  *     This file is part of GeSHi.
25  *
26  *   GeSHi is free software; you can redistribute it and/or modify
27  *   it under the terms of the GNU General Public License as published by
28  *   the Free Software Foundation; either version 2 of the License, or
29  *   (at your option) any later version.
30  *
31  *   GeSHi is distributed in the hope that it will be useful,
32  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
33  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34  *   GNU General Public License for more details.
35  *
36  *   You should have received a copy of the GNU General Public License
37  *   along with GeSHi; if not, write to the Free Software
38  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
39  *
40  ************************************************************************************/
41
42 $language_data = array (
43     'LANG_NAME' => 'ini',
44     'COMMENT_SINGLE' => array(0 => ';'),
45     'COMMENT_MULTI' => array(),
46     'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
47     'QUOTEMARKS' => array(),
48     'ESCAPE_CHAR' => '',
49     'KEYWORDS' => array(
50         ),
51     'SYMBOLS' => array(
52         '[', ']', '='
53         ),
54     'CASE_SENSITIVE' => array(
55         GESHI_COMMENTS => false
56         ),
57     'STYLES' => array(
58         'KEYWORDS' => array(
59             0 => ''
60             ),
61         'COMMENTS' => array(
62             0 => 'color: #666666; font-style: italic;'
63             ),
64         'ESCAPE_CHAR' => array(
65             0 => ''
66             ),
67         'BRACKETS' => array(
68             0 => ''
69             ),
70         'STRINGS' => array(
71             0 => ''
72             ),
73         'NUMBERS' => array(
74             0 => ''
75             ),
76         'METHODS' => array(
77             0 => ''
78             ),
79         'SYMBOLS' => array(
80             0 => 'color: #000066; font-weight:bold;'
81             ),
82         'REGEXPS' => array(
83             0 => 'color: #000066; font-weight:bold;',
84             1 => 'color: #000099;',
85             2 => 'color: #660066;'
86             ),
87         'SCRIPT' => array(
88             0 => ''
89             )
90         ),
91     'URLS' => array(
92         ),
93     'OOLANG' => false,
94     'OBJECT_SPLITTERS' => array(
95         ),
96     'REGEXPS' => array(
97         0 => '\[.+\]',
98         1 => array(
99             GESHI_SEARCH => '([a-zA-Z0-9_]+\s*)=(.+)',
100             GESHI_REPLACE => '\\1',
101             GESHI_MODIFIERS => '',
102             GESHI_BEFORE => '',
103             GESHI_AFTER => '=\\2'
104             ),
105         2 => array(
106             // Evil hackery to get around GeSHi bug: <>" and ; are added so <span>s can be matched
107             // Explicit match on variable names because if a comment is before the first < of the span
108             // gets chewed up...
109             GESHI_SEARCH => '([<>";a-zA-Z0-9_]+\s*)=(.+)',
110             GESHI_REPLACE => '\\2',
111             GESHI_MODIFIERS => '',
112             GESHI_BEFORE => '\\1=',
113             GESHI_AFTER => ''
114             )
115         ),
116     'STRICT_MODE_APPLIES' => GESHI_NEVER,
117     'SCRIPT_DELIMITERS' => array(
118         ),
119     'HIGHLIGHT_STRICT_BLOCK' => array(
120         )
121 );
122
123 ?>
Note: See TracBrowser for help on using the browser.