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