Merging the updates from the GeSHi vendor to the trunk
[viewsvn.git] / includes / geshi / geshi / mirc.php
1 <?php
2 /*************************************************************************************
3 * mirc.php
4 * -----
5 * Author: Alberto 'Birckin' de Areba (Birckin@hotmail.com)
6 * Copyright: (c) 2006 Alberto de Areba
7 * Release Version: 1.0.7.19
8 * Date Started: 2006/05/29
9 *
10 * mIRC Scripting language file for GeSHi.
11 *
12 * CHANGES
13 * -------
14 * 2006/05/29 (1.0.0)
15 * - First Release
16 *
17 *************************************************************************************
18 *
19 * This file is part of GeSHi.
20 *
21 * GeSHi is free software; you can redistribute it and/or modify
22 * it under the terms of the GNU General Public License as published by
23 * the Free Software Foundation; either version 2 of the License, or
24 * (at your option) any later version.
25 *
26 * GeSHi is distributed in the hope that it will be useful,
27 * but WITHOUT ANY WARRANTY; without even the implied warranty of
28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 * GNU General Public License for more details.
30 *
31 * You should have received a copy of the GNU General Public License
32 * along with GeSHi; if not, write to the Free Software
33 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
34 *
35 ************************************************************************************/
36
37 $language_data = array (
38 'LANG_NAME' => 'mIRC Scripting',
39 'COMMENT_SINGLE' => array(1 => ';'),
40 'COMMENT_MULTI' => array(),
41 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
42 'QUOTEMARKS' => array(),
43 'ESCAPE_CHAR' => '',
44 'KEYWORDS' => array(
45 1 => array(
46 'alias', 'menu', 'dialog',
47 ),
48 2 => array(
49 'if', 'elseif', 'else', 'while', 'return', 'goto',
50 ),
51 ),
52 'SYMBOLS' => array(
53 '(', ')', '{', '}', '[', ']', '|',
54 ),
55 'CASE_SENSITIVE' => array(
56 GESHI_COMMENTS => true,
57 1 => false,
58 2 => false,
59 ),
60 'STYLES' => array(
61 'KEYWORDS' => array(
62 1 => 'color: #994444;',
63 2 => 'color: #000000; font-weight: bold;',
64 ),
65 'COMMENTS' => array(
66 1 => 'color: #808080; font-style: italic;',
67 ),
68 'ESCAPE_CHAR' => array(
69 ),
70 'BRACKETS' => array(
71 0 => 'color: #FF0000;',
72 ),
73 'STRINGS' => array(
74 ),
75 'NUMBERS' => array(
76 0 => '',
77 ),
78 'METHODS' => array(
79 ),
80 'SYMBOLS' => array(
81 0 => 'color: #FF0000;',
82 ),
83 'REGEXPS' => array(
84 0 => 'color: #000099;',
85 1 => 'color: #990000;',
86 2 => 'color: #888800;',
87 3 => 'color: #888800;',
88 4 => 'color: #000099;',
89 5 => 'color: #000099;',
90 ),
91 'SCRIPT' => array(
92 )
93 ),
94 'URLS' => array(
95 1 => '',
96 2 => '',
97 3 => 'http://www.mirc.com/{FNAME}',
98 4 => ''
99 ),
100 'OOLANG' => false,
101 'OBJECT_SPLITTERS' => array(
102 ),
103 'REGEXPS' => array(
104 0 => '\$[^$][^ ,\(\)]*',
105 1 => '(%|&).+?[^ ,\)]*',
106 2 => '(#|@).+?[^ ,\)]*',
107 3 => '-[a-z\d]+',
108 4 => '(on|ctcp) (!|@|&)?(\d|\*):[a-zA-Z]+:',
109 /*4 => array(
110 GESHI_SEARCH => '((on|ctcp) (!|@|&)?(\d|\*):(Action|Active|Agent|AppActive|Ban|Chat|Close|Connect|Ctcp|CtcpReply|DccServer|DeHelp|DeOp|DeVoice|Dialog|Dns|Error|Exit|FileRcvd|FileSent|GetFail|Help|Hotlink|Input|Invite|Join|KeyDown|KeyUp|Kick|Load|Logon|MidiEnd|Mode|Mp3End|Nick|NoSound|Notice|Notify|Op|Open|Part|Ping|Pong|PlayEnd|Quit|Raw|RawMode|SendFail|Serv|ServerMode|ServerOp|Signal|Snotice|Start|Text|Topic|UnBan|Unload|Unotify|User|Mode|Voice|Wallops|WaveEnd):)',
111 GESHI_REPLACE => '\\1',
112 GESHI_MODIFIERS => 'i',
113 GESHI_BEFORE => '',
114 GESHI_AFTER => ''
115 ),*/
116 5 => 'raw (\d|\*):',
117 ),
118 'STRICT_MODE_APPLIES' => GESHI_NEVER,
119 'SCRIPT_DELIMITERS' => array(
120 ),
121 'HIGHLIGHT_STRICT_BLOCK' => array(
122 )
123 );
124
125 ?>