ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
whitespace.php
Go to the documentation of this file.
1 <?php
2 /*************************************************************************************
3  * whitespace.php
4  * ----------
5  * Author: Benny Baumann (BenBE@geshi.org)
6  * Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/)
7  * Release Version: 1.0.9.0
8  * Date Started: 2009/10/31
9  *
10  * Whitespace language file for GeSHi.
11  *
12  * CHANGES
13  * -------
14  * 2008/10/31 (1.0.8.1)
15  * - First Release
16  *
17  * TODO
18  * ----
19  *
20  *************************************************************************************
21  *
22  * This file is part of GeSHi.
23  *
24  * GeSHi is free software; you can redistribute it and/or modify
25  * it under the terms of the GNU General Public License as published by
26  * the Free Software Foundation; either version 2 of the License, or
27  * (at your option) any later version.
28  *
29  * GeSHi is distributed in the hope that it will be useful,
30  * but WITHOUT ANY WARRANTY; without even the implied warranty of
31  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32  * GNU General Public License for more details.
33  *
34  * You should have received a copy of the GNU General Public License
35  * along with GeSHi; if not, write to the Free Software
36  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
37  *
38  ************************************************************************************/
39 $language_data = array (
40  'LANG_NAME' => 'Whitespace',
41  'COMMENT_SINGLE' => array(),
42  'COMMENT_MULTI' => array(),
43  'COMMENT_REGEXP' => array(
44  3 => "/[^\n\x20\x09]+/s"
45  ),
46  'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
47  'QUOTEMARKS' => array(),
48  'ESCAPE_CHAR' => '',
49  'KEYWORDS' => array(
50  ),
51  'SYMBOLS' => array(
52  ),
53  'CASE_SENSITIVE' => array(
54  GESHI_COMMENTS => false,
55  ),
56  'STYLES' => array(
57  'KEYWORDS' => array(
58  ),
59  'COMMENTS' => array(
60  3 => 'color: #666666; font-style: italic;'
61  ),
62  'BRACKETS' => array(
63  0 => 'color: #66cc66;'
64  ),
65  'STRINGS' => array(
66  0 => 'color: #ff0000;'
67  ),
68  'NUMBERS' => array(
69  ),
70  'METHODS' => array(
71  ),
72  'SYMBOLS' => array(
73  ),
74  'ESCAPE_CHAR' => array(
75  ),
76  'SCRIPT' => array(
77  ),
78  'REGEXPS' => array(
79  2 => 'background-color: #FF9999;',
80  3 => 'background-color: #9999FF;'
81  )
82  ),
83  'URLS' => array(
84  ),
85  'OOLANG' => false,
86  'OBJECT_SPLITTERS' => array(
87  ),
88  'REGEXPS' => array(
89  2 => array(
90  GESHI_SEARCH => "(?<!\\A)\x20",
91  GESHI_REPLACE => "&#32;",
92  GESHI_MODIFIERS => 's',
93  GESHI_BEFORE => "",
94  GESHI_AFTER => ""
95  ),
96  3 => array(
97  GESHI_SEARCH => "\x09",
98  GESHI_REPLACE => "&#9;",
99  GESHI_MODIFIERS => 's',
100  GESHI_BEFORE => "",
101  GESHI_AFTER => ""
102  ),
103  ),
104  'STRICT_MODE_APPLIES' => GESHI_NEVER,
105  'SCRIPT_DELIMITERS' => array(
106  ),
107  'HIGHLIGHT_STRICT_BLOCK' => array(
108  ),
109  'TAB_WIDTH' => 4,
110  'PARSER_CONTROL' => array(
111  'ENABLE_FLAGS' => array(
112  'KEYWORDS' => GESHI_NEVER,
113  'SYMBOLS' => GESHI_NEVER,
114  'STRINGS' => GESHI_NEVER,
115 // 'REGEXPS' => GESHI_NEVER,
116  'NUMBERS' => GESHI_NEVER
117  )
118  )
119 );
const GESHI_MODIFIERS
The key of the regex array defining any modifiers to the regular expression.
Definition: geshi.php:137
const GESHI_BEFORE
The key of the regex array defining what bracket group in a matched search to put before the replacem...
Definition: geshi.php:140
const GESHI_COMMENTS
Used in language files to mark comments.
Definition: geshi.php:149
const GESHI_REPLACE
The key of the regex array defining what bracket group in a matched search to use as a replacement...
Definition: geshi.php:135
const GESHI_CAPS_UPPER
Uppercase keywords found.
Definition: geshi.php:96
const GESHI_SEARCH
The key of the regex array defining what to search for.
Definition: geshi.php:132
$language_data
Definition: whitespace.php:39
const GESHI_NEVER
#+ private
Definition: geshi.php:123
const GESHI_AFTER
The key of the regex array defining what bracket group in a matched search to put after the replaceme...
Definition: geshi.php:143