A tumblelog CMS built on AJAX, PHP and MySQL.

caddcl.php 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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.21
  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. $language_data = array (
  44. 'LANG_NAME' => 'CAD DCL',
  45. 'COMMENT_SINGLE' => array(1 => '//'),
  46. 'COMMENT_MULTI' => array('/*' => '*/'),
  47. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  48. 'QUOTEMARKS' => array('"'),
  49. 'ESCAPE_CHAR' => '\\',
  50. 'KEYWORDS' => array(
  51. 1 => array(
  52. 'boxed_column','boxed_radio_column','boxed_radio_row','boxed_row',
  53. 'column','concatenation','button','dialog','edit_box','image','image_button',
  54. 'errtile','list_box','ok_cancel','ok_cancel_help','ok_cancel_help_errtile',
  55. 'ok_cancel_help_info','ok_only','paragraph','popup_list','radio_button',
  56. 'radio_column','radio_row','row','slider','spacer','spacer_0','spacer_1','text',
  57. 'text_part','toggle',
  58. 'action','alignment','allow_accept','aspect_ratio','big_increment',
  59. 'children_alignment','children_fixed_height',
  60. 'children_fixed_width','color',
  61. 'edit_limit','edit_width','fixed_height','fixed_width',
  62. 'height','initial_focus','is_cancel','is_default',
  63. 'is_enabled','is_tab_stop','is-bold','key','label','layout','list',
  64. 'max_value','min_value','mnemonic','multiple_select','password_char',
  65. 'small_increment','tabs','tab_truncate','value','width',
  66. 'false','true','left','right','centered','top','bottom',
  67. 'dialog_line','dialog_foreground','dialog_background',
  68. 'graphics_background','black','red','yellow','green','cyan',
  69. 'blue','magenta','whitegraphics_foreground',
  70. 'horizontal','vertical'
  71. )
  72. ),
  73. 'SYMBOLS' => array(
  74. '(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
  75. ),
  76. 'CASE_SENSITIVE' => array(
  77. GESHI_COMMENTS => true,
  78. 1 => false
  79. ),
  80. 'STYLES' => array(
  81. 'KEYWORDS' => array(
  82. 1 => 'color: #b1b100;'
  83. ),
  84. 'COMMENTS' => array(
  85. 1 => 'color: #808080; font-style: italic;',
  86. 'MULTI' => 'color: #808080; font-style: italic;'
  87. ),
  88. 'ESCAPE_CHAR' => array(
  89. 0 => 'color: #000099; font-weight: bold;'
  90. ),
  91. 'BRACKETS' => array(
  92. 0 => 'color: #66cc66;'
  93. ),
  94. 'STRINGS' => array(
  95. 0 => 'color: #ff0000;'
  96. ),
  97. 'NUMBERS' => array(
  98. 0 => 'color: #cc66cc;'
  99. ),
  100. 'METHODS' => array(
  101. ),
  102. 'SYMBOLS' => array(
  103. 0 => 'color: #66cc66;'
  104. ),
  105. 'REGEXPS' => array(
  106. ),
  107. 'SCRIPT' => array(
  108. )
  109. ),
  110. 'URLS' => array(
  111. ),
  112. 'OOLANG' => false,
  113. 'OBJECT_SPLITTERS' => array(
  114. ),
  115. 'REGEXPS' => array(
  116. ),
  117. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  118. 'SCRIPT_DELIMITERS' => array(
  119. ),
  120. 'HIGHLIGHT_STRICT_BLOCK' => array(
  121. )
  122. );
  123. ?>