plugins/geshi/geshi/caddcl.php
changeset 0 441963e5b07a
child 2 9e3258dfae15
equal deleted inserted replaced
-1:000000000000 0:441963e5b07a
       
     1 <?php
       
     2 /*************************************************************************************
       
     3  * caddcl.php
       
     4  * ----------
       
     5  * Author: Roberto Rossi (rsoftware@altervista.org)
       
     6  * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter)
       
     7  * Release Version: 1.0.7.20
       
     8  * Date Started: 2004/08/30
       
     9  *
       
    10  * CAD DCL (Dialog Control Language) file for GeSHi.
       
    11  *
       
    12  * DCL for AutoCAD 12 or later and IntelliCAD all versions.
       
    13  *
       
    14  * CHANGES
       
    15  * -------
       
    16  * 2004/11/27 (1.0.1)
       
    17  *  -  Added support for multiple object splitters
       
    18  * 2004/1!/27 (1.0.0)
       
    19  *  -  First Release
       
    20  *
       
    21  * TODO (updated 2004/11/27)
       
    22  * -------------------------
       
    23  *
       
    24  *************************************************************************************
       
    25  *
       
    26  *     This file is part of GeSHi.
       
    27  *
       
    28  *   GeSHi is free software; you can redistribute it and/or modify
       
    29  *   it under the terms of the GNU General Public License as published by
       
    30  *   the Free Software Foundation; either version 2 of the License, or
       
    31  *   (at your option) any later version.
       
    32  *
       
    33  *   GeSHi is distributed in the hope that it will be useful,
       
    34  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    35  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    36  *   GNU General Public License for more details.
       
    37  *
       
    38  *   You should have received a copy of the GNU General Public License
       
    39  *   along with GeSHi; if not, write to the Free Software
       
    40  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
       
    41  *
       
    42  ************************************************************************************/
       
    43 
       
    44 $language_data = array (
       
    45 	'LANG_NAME' => 'CAD DCL',
       
    46 	'COMMENT_SINGLE' => array(1 => '//'),
       
    47 	'COMMENT_MULTI' => array('/*' => '*/'),
       
    48 	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
       
    49 	'QUOTEMARKS' => array('"'),
       
    50 	'ESCAPE_CHAR' => '\\',
       
    51 	'KEYWORDS' => array(
       
    52 		1 => array(
       
    53 			'boxed_column','boxed_radio_column','boxed_radio_row','boxed_row',
       
    54 			'column','concatenation','button','dialog','edit_box','image','image_button',
       
    55 			'errtile','list_box','ok_cancel','ok_cancel_help','ok_cancel_help_errtile',
       
    56 			'ok_cancel_help_info','ok_only','paragraph','popup_list','radio_button',
       
    57 			'radio_column','radio_row','row','slider','spacer','spacer_0','spacer_1','text',
       
    58 			'text_part','toggle',
       
    59 			'action','alignment','allow_accept','aspect_ratio','big_increment',
       
    60 			'children_alignment','children_fixed_height',
       
    61 			'children_fixed_width','color',
       
    62 			'edit_limit','edit_width','fixed_height','fixed_width',
       
    63 			'height','initial_focus','is_cancel','is_default',
       
    64 			'is_enabled','is_tab_stop','is-bold','key','label','layout','list',
       
    65 			'max_value','min_value','mnemonic','multiple_select','password_char',
       
    66 			'small_increment','tabs','tab_truncate','value','width',
       
    67 			'false','true','left','right','centered','top','bottom',
       
    68 			'dialog_line','dialog_foreground','dialog_background',
       
    69 			'graphics_background','black','red','yellow','green','cyan',
       
    70 			'blue','magenta','whitegraphics_foreground',
       
    71 			'horizontal','vertical'
       
    72 			)
       
    73 		),
       
    74 	'SYMBOLS' => array(
       
    75 		'(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
       
    76 		),
       
    77 	'CASE_SENSITIVE' => array(
       
    78 		GESHI_COMMENTS => true,
       
    79 		1 => false
       
    80 		),
       
    81 	'STYLES' => array(
       
    82 		'KEYWORDS' => array(
       
    83 			1 => 'color: #b1b100;'
       
    84 			),
       
    85 		'COMMENTS' => array(
       
    86 			1 => 'color: #808080; font-style: italic;',
       
    87 			'MULTI' => 'color: #808080; font-style: italic;'
       
    88 			),
       
    89 		'ESCAPE_CHAR' => array(
       
    90 			0 => 'color: #000099; font-weight: bold;'
       
    91 			),
       
    92 		'BRACKETS' => array(
       
    93 			0 => 'color: #66cc66;'
       
    94 			),
       
    95 		'STRINGS' => array(
       
    96 			0 => 'color: #ff0000;'
       
    97 			),
       
    98 		'NUMBERS' => array(
       
    99 			0 => 'color: #cc66cc;'
       
   100 			),
       
   101 		'METHODS' => array(
       
   102 			),
       
   103 		'SYMBOLS' => array(
       
   104 			0 => 'color: #66cc66;'
       
   105 			),
       
   106 		'REGEXPS' => array(
       
   107 			),
       
   108 		'SCRIPT' => array(
       
   109 			)
       
   110 		),
       
   111 	'URLS' => array(
       
   112 		),
       
   113 	'OOLANG' => false,
       
   114 	'OBJECT_SPLITTERS' => array(
       
   115 		),
       
   116 	'REGEXPS' => array(
       
   117 		),
       
   118 	'STRICT_MODE_APPLIES' => GESHI_NEVER,
       
   119 	'SCRIPT_DELIMITERS' => array(
       
   120 		),
       
   121 	'HIGHLIGHT_STRICT_BLOCK' => array(
       
   122 		)
       
   123 );
       
   124 
       
   125 ?>