[ Index ] |
|
Code source de DokuWiki 2006-11-06 |
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.15 8 * CVS Revision Version: $Revision: 1.1.2.1 $ 9 * Date Started: 2006/05/29 10 * Last Modified: $LastChangedDate:$ 11 * 12 * mIRC Scripting language file for GeSHi. 13 * 14 * CHANGES 15 * ------- 16 * 2006/05/29 (1.0.0) 17 * - First Release 18 * 19 ************************************************************************************* 20 * 21 * This file is part of GeSHi. 22 * 23 * GeSHi is free software; you can redistribute it and/or modify 24 * it under the terms of the GNU General Public License as published by 25 * the Free Software Foundation; either version 2 of the License, or 26 * (at your option) any later version. 27 * 28 * GeSHi is distributed in the hope that it will be useful, 29 * but WITHOUT ANY WARRANTY; without even the implied warranty of 30 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 31 * GNU General Public License for more details. 32 * 33 * You should have received a copy of the GNU General Public License 34 * along with GeSHi; if not, write to the Free Software 35 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 36 * 37 ************************************************************************************/ 38 39 $language_data = array ( 40 'LANG_NAME' => 'mIRC Scripting', 41 'COMMENT_SINGLE' => array(1 => ';'), 42 'COMMENT_MULTI' => array(), 43 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 44 'QUOTEMARKS' => array(), 45 'ESCAPE_CHAR' => '', 46 'KEYWORDS' => array( 47 1 => array( 48 'alias', 'menu', 'dialog', 49 ), 50 2 => array( 51 'if', 'elseif', 'else', 'while', 'return', 'goto', 52 ), 53 ), 54 'SYMBOLS' => array( 55 '(', ')', '{', '}', '[', ']', '|', 56 ), 57 'CASE_SENSITIVE' => array( 58 GESHI_COMMENTS => true, 59 1 => false, 60 2 => false, 61 ), 62 'STYLES' => array( 63 'KEYWORDS' => array( 64 1 => 'color: #994444;', 65 2 => 'color: #000000; font-weight: bold;', 66 ), 67 'COMMENTS' => array( 68 1 => 'color: #808080; font-style: italic;', 69 ), 70 'ESCAPE_CHAR' => array( 71 ), 72 'BRACKETS' => array( 73 0 => 'color: #FF0000;', 74 ), 75 'STRINGS' => array( 76 ), 77 'NUMBERS' => array( 78 0 => '', 79 ), 80 'METHODS' => array( 81 ), 82 'SYMBOLS' => array( 83 0 => 'color: #FF0000;', 84 ), 85 'REGEXPS' => array( 86 0 => 'color: #000099;', 87 1 => 'color: #990000;', 88 2 => 'color: #888800;', 89 3 => 'color: #888800;', 90 4 => 'color: #000099;', 91 5 => 'color: #000099;', 92 ), 93 'SCRIPT' => array( 94 ) 95 ), 96 'URLS' => array( 97 1 => '', 98 2 => '', 99 3 => 'http://www.mirc.com/{FNAME}', 100 4 => '' 101 ), 102 'OOLANG' => false, 103 'OBJECT_SPLITTERS' => array( 104 ), 105 'REGEXPS' => array( 106 0 => '\$[^$][^ ,\(\)]*', 107 1 => '(%|&).+?[^ ,\)]*', 108 2 => '(#|@).+?[^ ,\)]*', 109 3 => '-[a-z\d]+', 110 4 => '(on|ctcp) (!|@|&)?(\d|\*):[a-zA-Z]+:', 111 /*4 => array( 112 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):)', 113 GESHI_REPLACE => '\\1', 114 GESHI_MODIFIERS => 'i', 115 GESHI_BEFORE => '', 116 GESHI_AFTER => '' 117 ),*/ 118 5 => 'raw (\d|\*):', 119 ), 120 'STRICT_MODE_APPLIES' => GESHI_NEVER, 121 'SCRIPT_DELIMITERS' => array( 122 ), 123 'HIGHLIGHT_STRICT_BLOCK' => array( 124 ) 125 ); 126 127 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Tue Apr 3 20:47:31 2007 | par Balluche grâce à PHPXref 0.7 |