Merging the updates from the GeSHi vendor to the trunk
[viewsvn.git] / includes / geshi / geshi / ini.php
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.19
8 * Date Started: 2005/03/27
9 *
10 * INI language file for GeSHi.
11 *
12 * CHANGES
13 * -------
14 * 2005/12/28 (1.0.1)
15 * - Removed unnecessary keyword style index
16 * - Added support for " strings
17 * 2005/04/05 (1.0.0)
18 * - First Release
19 *
20 * TODO (updated 2005/03/27)
21 * -------------------------
22 *
23 *************************************************************************************
24 *
25 * This file is part of GeSHi.
26 *
27 * GeSHi is free software; you can redistribute it and/or modify
28 * it under the terms of the GNU General Public License as published by
29 * the Free Software Foundation; either version 2 of the License, or
30 * (at your option) any later version.
31 *
32 * GeSHi is distributed in the hope that it will be useful,
33 * but WITHOUT ANY WARRANTY; without even the implied warranty of
34 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 * GNU General Public License for more details.
36 *
37 * You should have received a copy of the GNU General Public License
38 * along with GeSHi; if not, write to the Free Software
39 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
40 *
41 ************************************************************************************/
42
43 $language_data = array (
44 'LANG_NAME' => 'INI',
45 'COMMENT_SINGLE' => array(0 => ';'),
46 'COMMENT_MULTI' => array(),
47 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
48 'QUOTEMARKS' => array('"'),
49 'ESCAPE_CHAR' => '',
50 'KEYWORDS' => array(
51 ),
52 'SYMBOLS' => array(
53 '[', ']', '='
54 ),
55 'CASE_SENSITIVE' => array(
56 GESHI_COMMENTS => false
57 ),
58 'STYLES' => array(
59 'KEYWORDS' => array(
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 => 'color: #933;'
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 ?>