KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

323 lines
20KB

  1. <?php
  2. /*************************************************************************************
  3. * c_loadrunner.php
  4. * ---------------------------------
  5. * Author: Stuart Moncrieff (stuart at myloadtest dot com)
  6. * Copyright: (c) 2010 Stuart Moncrieff (http://www.myloadtest.com/loadrunner-syntax-highlighter/)
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2010-07-25
  9. *
  10. * C (for LoadRunner) language file for GeSHi.
  11. *
  12. * Based on LoadRunner 9.52.
  13. *
  14. * CHANGES
  15. * -------
  16. * 2010-08-01 (1.0.8.9)
  17. * - Added highlighting support for LoadRunner {parameters}.
  18. * 2010-07-25 (1.0.8.8)
  19. * - First Release. Syntax highlighting support for lr_, web_, and sapgui_ functions only.
  20. *
  21. * TODO (updated 2010-07-25)
  22. * -------------------------
  23. * - Add support for other vuser types: MMS, FTP, etc.
  24. *
  25. *************************************************************************************
  26. *
  27. * This file is part of GeSHi.
  28. *
  29. * GeSHi is free software; you can redistribute it and/or modify
  30. * it under the terms of the GNU General Public License as published by
  31. * the Free Software Foundation; either version 2 of the License, or
  32. * (at your option) any later version.
  33. *
  34. * GeSHi is distributed in the hope that it will be useful,
  35. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  36. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  37. * GNU General Public License for more details.
  38. *
  39. * You should have received a copy of the GNU General Public License
  40. * along with GeSHi; if not, write to the Free Software
  41. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  42. * ************************************************************************************/
  43. $language_data = array (
  44. // The First Indices
  45. 'LANG_NAME' => 'C (LoadRunner)',
  46. 'COMMENT_SINGLE' => array(1 => '//'),
  47. 'COMMENT_MULTI' => array('/*' => '*/'),
  48. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  49. 'QUOTEMARKS' => array("'", '"'),
  50. 'ESCAPE_CHAR' => '',
  51. // Escape characters within strings (like \\) are not highlighted differently in LoadRunner, so
  52. // I am using GeSHi escape characters (or regular expressions) to highlight LoadRunner {parameters}.
  53. // LoadRunner {parameters} must begin with a letter and contain only alphanumeric characters and '_'
  54. 'ESCAPE_REGEXP' => array(
  55. 0 => "#\{[a-zA-Z]{1}[a-zA-Z_]{0,}\}#",
  56. ),
  57. // Keywords
  58. 'KEYWORDS' => array(
  59. // Keywords from http://en.wikipedia.org/wiki/C_syntax
  60. 1 => array(
  61. 'auto', 'break', 'case', 'char', 'const', 'continue', 'default',
  62. 'do', 'double', 'else', 'enum', 'extern', 'float', 'for', 'goto',
  63. 'if', 'inline', 'int', 'long', 'register', 'restrict', 'return',
  64. 'short', 'signed', 'sizeof', 'static', 'struct', 'switch',
  65. 'typedef', 'union', 'unsigned', 'void', 'volatile', 'while',
  66. '_Bool', '_Complex', '_Imaginary'
  67. ),
  68. // C preprocessor directives from http://en.wikipedia.org/wiki/C_preprocessor
  69. 2 => array(
  70. '#define', '#if', '#ifdef', '#ifndef', '#include', '#else', '#elif', '#endif', '#pragma', '#undef'
  71. ),
  72. // Functions from lrun.h
  73. 3 => array(
  74. 'lr_start_transaction', 'lr_start_sub_transaction', 'lr_start_transaction_instance', 'lr_end_transaction',
  75. 'lr_end_sub_transaction', 'lr_end_transaction_instance', 'lr_stop_transaction', 'lr_stop_transaction_instance',
  76. 'lr_resume_transaction', 'lr_resume_transaction_instance', 'lr_wasted_time', 'lr_set_transaction', 'lr_user_data_point',
  77. 'lr_user_data_point_instance', 'lr_user_data_point_ex', 'lr_user_data_point_instance_ex', 'lr_get_transaction_duration',
  78. 'lr_get_trans_instance_duration', 'lr_get_transaction_think_time', 'lr_get_trans_instance_think_time',
  79. 'lr_get_transaction_wasted_time', 'lr_get_trans_instance_wasted_time', 'lr_get_transaction_status',
  80. 'lr_get_trans_instance_status', 'lr_set_transaction_status', 'lr_set_transaction_status_by_name',
  81. 'lr_set_transaction_instance_status', 'lr_start_timer', 'lr_end_timer', 'lr_rendezvous', 'lr_rendezvous_ex',
  82. 'lr_get_vuser_ip', 'lr_whoami', 'lr_get_host_name', 'lr_get_master_host_name', 'lr_get_attrib_long',
  83. 'lr_get_attrib_string', 'lr_get_attrib_double', 'lr_paramarr_idx', 'lr_paramarr_random', 'lr_paramarr_len',
  84. 'lr_param_unique', 'lr_param_sprintf', 'lr_load_dll', 'lr_continue_on_error', 'lr_decrypt', 'lr_abort', 'lr_exit',
  85. 'lr_peek_events', 'lr_think_time', 'lr_debug_message', 'lr_log_message', 'lr_message', 'lr_error_message',
  86. 'lr_output_message', 'lr_vuser_status_message', 'lr_fail_trans_with_error', 'lr_next_row', 'lr_advance_param',
  87. 'lr_eval_string', 'lr_eval_string_ext', 'lr_eval_string_ext_free', 'lr_param_increment', 'lr_save_var',
  88. 'lr_save_string', 'lr_save_int', 'lr_save_datetime', 'lr_save_searched_string', 'lr_set_debug_message',
  89. 'lr_get_debug_message', 'lr_enable_ip_spoofing', 'lr_disable_ip_spoofing', 'lr_convert_string_encoding'
  90. ),
  91. // Constants from lrun.h
  92. 4 => array(
  93. 'DP_FLAGS_NO_LOG', 'DP_FLAGS_STANDARD_LOG', 'DP_FLAGS_EXTENDED_LOG', 'merc_timer_handle_t', 'LR_EXIT_VUSER',
  94. 'LR_EXIT_ACTION_AND_CONTINUE', 'LR_EXIT_ITERATION_AND_CONTINUE', 'LR_EXIT_VUSER_AFTER_ITERATION',
  95. 'LR_EXIT_VUSER_AFTER_ACTION', 'LR_EXIT_MAIN_ITERATION_AND_CONTINUE', 'LR_MSG_CLASS_DISABLE_LOG',
  96. 'LR_MSG_CLASS_STANDARD_LOG', 'LR_MSG_CLASS_RETURNED_DATA', 'LR_MSG_CLASS_PARAMETERS', 'LR_MSG_CLASS_ADVANCED_TRACE',
  97. 'LR_MSG_CLASS_EXTENDED_LOG', 'LR_MSG_CLASS_SENT_DATA', 'LR_MSG_CLASS_JIT_LOG_ON_ERROR', 'LR_SWITCH_OFF', 'LR_SWITCH_ON',
  98. 'LR_SWITCH_DEFAULT', 'ONE_DAY', 'ONE_HOUR', 'ONE_MIN', 'DATE_NOW', 'TIME_NOW', 'LR_MSG_CLASS_BRIEF_LOG',
  99. 'LR_MSG_CLASS_RESULT_DATA', 'LR_MSG_CLASS_FULL_TRACE', 'LR_MSG_CLASS_AUTO_LOG', 'LR_MSG_OFF', 'LR_MSG_ON',
  100. 'LR_MSG_DEFAULT'
  101. ),
  102. // Functions from web_api.h
  103. 5 => array(
  104. 'web_reg_add_cookie', 'web_report_data_point', 'web_text_link', 'web_element', 'web_image_link', 'web_static_image',
  105. 'web_image_submit', 'web_button', 'web_edit_field', 'web_radio_group', 'web_check_box', 'web_list', 'web_text_area',
  106. 'web_map_area', 'web_eval_java_script', 'web_reg_dialog', 'web_reg_cross_step_download', 'web_browser',
  107. 'web_set_rts_key', 'web_save_param_length', 'web_save_timestamp_param', 'web_load_cache', 'web_dump_cache',
  108. 'web_add_cookie_ex'
  109. ),
  110. // Constants from web_api.h
  111. 6 => array(
  112. 'DESCRIPTION', 'ACTION', 'VERIFICATION', 'LR_NOT_FOUND', 'HTTP_INFO_TOTAL_REQUEST_STAT',
  113. 'HTTP_INFO_TOTAL_RESPONSE_STAT', 'LRW_OPT_STOP_VUSER_ON_ERROR', 'LRW_OPT_DISPLAY_IMAGE_BODY'
  114. ),
  115. // Functions from as_web.h
  116. 7 => array(
  117. 'web_add_filter', 'web_add_auto_filter', 'web_add_auto_header', 'web_add_header', 'web_add_cookie',
  118. 'web_cleanup_auto_headers', 'web_cleanup_cookies', 'web_concurrent_end', 'web_concurrent_start', 'web_create_html_param',
  119. 'web_create_html_param_ex', 'web_custom_request', 'web_disable_keep_alive', 'web_enable_keep_alive', 'web_find',
  120. 'web_get_int_property', 'web_image', 'web_image_check', 'web_link', 'web_global_verification', 'web_reg_find',
  121. 'web_reg_save_param', 'web_convert_param', 'web_remove_auto_filter', 'web_remove_auto_header', 'web_revert_auto_header',
  122. 'web_remove_cookie', 'web_save_header', 'web_set_certificate', 'web_set_certificate_ex', 'web_set_connections_limit',
  123. 'web_set_max_html_param_len', 'web_set_max_retries', 'web_set_proxy', 'web_set_proxy_bypass', 'web_set_secure_proxy',
  124. 'web_set_sockets_option', 'web_set_option', 'web_set_timeout', 'web_set_user', 'web_sjis_to_euc_param',
  125. 'web_submit_data', 'web_submit_form', 'web_url', 'web_set_proxy_bypass_local', 'web_cache_cleanup',
  126. 'web_create_html_query', 'web_create_radio_button_param', 'web_switch_net_layer'
  127. ),
  128. // Constants from as_web.h
  129. 8 => array(
  130. 'ENDFORM', 'LAST', 'ENDITEM', 'EXTRARES', 'ITEMDATA', 'STARTHIDDENS', 'ENDHIDDENS', 'CONNECT', 'RECEIVE', 'RESOLVE',
  131. 'STEP', 'REQUEST', 'RESPONSE', 'STARTQUERY', 'ENDQUERY', 'INPROPS', 'OUTPROPS', 'ENDPROPS', 'RAW_BODY_START',
  132. 'RAW_BODY_END', 'HTTP_INFO_RETURN_CODE', 'HTTP_INFO_DOWNLOAD_SIZE', 'HTTP_INFO_DOWNLOAD_TIME',
  133. 'LRW_NET_SOCKET_OPT_LOAD_VERIFY_FILE', 'LRW_NET_SOCKET_OPT_DEFAULT_VERIFY_PATH', 'LRW_NET_SOCKET_OPT_SSL_VERSION',
  134. 'LRW_NET_SOCKET_OPT_SSL_CIPHER_LIST', 'LRW_NET_SOCKET_OPT_SO_REUSE_ADDRESS', 'LRW_NET_SOCKET_OPT_USER_IP_ADDRESS',
  135. 'LRW_NET_SOCKET_OPT_IP_ADDRESS_BY_INDEX', 'LRW_NET_SOCKET_OPT_HELP', 'LRW_NET_SOCKET_OPT_PRINT_USER_IP_ADDRESS_LIST',
  136. 'LRW_OPT_HTML_CHAR_REF_BACKWARD_COMPATIBILITY', 'LRW_OPT_VALUE_YES', 'LRW_OPT_VALUE_NO'
  137. ),
  138. // Functions from as_sapgui.h
  139. 9 => array(
  140. 'sapgui_open_connection', 'sapgui_open_connection_ex', 'sapgui_logon', 'sapgui_create_session',
  141. 'sapgui_create_new_session', 'sapgui_call_method', 'sapgui_call_method_ex', 'sapgui_set_property',
  142. 'sapgui_get_property', 'sapgui_set_collection_property', 'sapgui_active_object_from_parent_method',
  143. 'sapgui_active_object_from_parent_property', 'sapgui_call_method_of_active_object',
  144. 'sapgui_call_method_of_active_object_ex', 'sapgui_set_property_of_active_object', 'sapgui_get_property_of_active_object',
  145. 'sapgui_select_active_connection', 'sapgui_select_active_session', 'sapgui_select_active_window ',
  146. 'sapgui_status_bar_get_text', 'sapgui_status_bar_get_param', 'sapgui_status_bar_get_type', 'sapgui_get_status_bar_text',
  147. 'sapgui_get_active_window_title', 'sapgui_is_object_available', 'sapgui_is_tab_selected', 'sapgui_is_object_changeable',
  148. 'sapgui_set_ok_code', 'sapgui_send_vkey', 'sapgui_resize_window', 'sapgui_window_resize', 'sapgui_window_maximize',
  149. 'sapgui_window_close', 'sapgui_window_restore', 'sapgui_window_scroll_to_row', 'sapgui_press_button',
  150. 'sapgui_select_radio_button', 'sapgui_set_password', 'sapgui_set_text', 'sapgui_select_menu', 'sapgui_select_tab',
  151. 'sapgui_set_checkbox', 'sapgui_set_focus', 'sapgui_select_combobox_entry', 'sapgui_get_ok_code',
  152. 'sapgui_is_radio_button_selected', 'sapgui_get_text', 'sapgui_is_checkbox_selected', 'sapgui_table_set_focus',
  153. 'sapgui_table_press_button', 'sapgui_table_select_radio_button', 'sapgui_table_set_password', 'sapgui_table_set_text',
  154. 'sapgui_table_set_checkbox', 'sapgui_table_select_combobox_entry', 'sapgui_table_set_row_selected',
  155. 'sapgui_table_set_column_selected', 'sapgui_table_set_column_width', 'sapgui_table_reorder', 'sapgui_table_fill_data',
  156. 'sapgui_table_get_text', 'sapgui_table_is_radio_button_selected', 'sapgui_table_is_checkbox_selected',
  157. 'sapgui_table_is_row_selected', 'sapgui_table_is_column_selected', 'sapgui_table_get_column_width',
  158. 'sapgui_grid_clear_selection', 'sapgui_grid_select_all', 'sapgui_grid_selection_changed',
  159. 'sapgui_grid_press_column_header', 'sapgui_grid_select_cell', 'sapgui_grid_select_rows', 'sapgui_grid_select_column',
  160. 'sapgui_grid_deselect_column', 'sapgui_grid_select_columns', 'sapgui_grid_select_cells', 'sapgui_grid_select_cell_row',
  161. 'sapgui_grid_select_cell_column', 'sapgui_grid_set_column_order', 'sapgui_grid_set_column_width',
  162. 'sapgui_grid_scroll_to_row', 'sapgui_grid_double_click', 'sapgui_grid_click', 'sapgui_grid_press_button',
  163. 'sapgui_grid_press_total_row', 'sapgui_grid_set_cell_data', 'sapgui_grid_set_checkbox',
  164. 'sapgui_grid_double_click_current_cell', 'sapgui_grid_click_current_cell', 'sapgui_grid_press_button_current_cell',
  165. 'sapgui_grid_press_total_row_current_cell', 'sapgui_grid_press_F1', 'sapgui_grid_press_F4', 'sapgui_grid_press_ENTER',
  166. 'sapgui_grid_press_toolbar_button', 'sapgui_grid_press_toolbar_context_button', 'sapgui_grid_open_context_menu',
  167. 'sapgui_grid_select_context_menu', 'sapgui_grid_select_toolbar_menu', 'sapgui_grid_fill_data',
  168. 'sapgui_grid_get_current_cell_row', 'sapgui_grid_get_current_cell_column', 'sapgui_grid_get_rows_count',
  169. 'sapgui_grid_get_columns_count', 'sapgui_grid_get_cell_data', 'sapgui_grid_is_checkbox_selected',
  170. 'sapgui_tree_scroll_to_node', 'sapgui_tree_set_hierarchy_header_width', 'sapgui_tree_set_selected_node',
  171. 'sapgui_tree_double_click_node', 'sapgui_tree_press_key', 'sapgui_tree_press_button', 'sapgui_tree_set_checkbox',
  172. 'sapgui_tree_double_click_item', 'sapgui_tree_click_link', 'sapgui_tree_open_default_context_menu',
  173. 'sapgui_tree_open_node_context_menu', 'sapgui_tree_open_header_context_menu', 'sapgui_tree_open_item_context_menu',
  174. 'sapgui_tree_select_context_menu', 'sapgui_tree_select_item', 'sapgui_tree_select_node', 'sapgui_tree_unselect_node',
  175. 'sapgui_tree_unselect_all', 'sapgui_tree_select_column', 'sapgui_tree_unselect_column', 'sapgui_tree_set_column_order',
  176. 'sapgui_tree_collapse_node', 'sapgui_tree_expand_node', 'sapgui_tree_scroll_to_item', 'sapgui_tree_set_column_width',
  177. 'sapgui_tree_press_header', 'sapgui_tree_is_checkbox_selected', 'sapgui_tree_get_node_text', 'sapgui_tree_get_item_text',
  178. 'sapgui_calendar_scroll_to_date', 'sapgui_calendar_focus_date', 'sapgui_calendar_select_interval',
  179. 'sapgui_apogrid_select_all', 'sapgui_apogrid_clear_selection', 'sapgui_apogrid_select_cell',
  180. 'sapgui_apogrid_deselect_cell', 'sapgui_apogrid_select_row', 'sapgui_apogrid_deselect_row',
  181. 'sapgui_apogrid_select_column', 'sapgui_apogrid_deselect_column', 'sapgui_apogrid_scroll_to_row',
  182. 'sapgui_apogrid_scroll_to_column', 'sapgui_apogrid_double_click', 'sapgui_apogrid_set_cell_data',
  183. 'sapgui_apogrid_get_cell_data', 'sapgui_apogrid_is_cell_changeable', 'sapgui_apogrid_get_cell_format',
  184. 'sapgui_apogrid_get_cell_tooltip', 'sapgui_apogrid_press_ENTER', 'sapgui_apogrid_open_cell_context_menu',
  185. 'sapgui_apogrid_select_context_menu_item', 'sapgui_text_edit_scroll_to_line', 'sapgui_text_edit_set_selection_indexes',
  186. 'sapgui_text_edit_set_unprotected_text_part', 'sapgui_text_edit_get_first_visible_line',
  187. 'sapgui_text_edit_get_selection_index_start', 'sapgui_text_edit_get_selection_index_end',
  188. 'sapgui_text_edit_get_number_of_unprotected_text_parts', 'sapgui_text_edit_double_click',
  189. 'sapgui_text_edit_single_file_dropped', 'sapgui_text_edit_multiple_files_dropped', 'sapgui_text_edit_press_F1',
  190. 'sapgui_text_edit_press_F4', 'sapgui_text_edit_open_context_menu', 'sapgui_text_edit_select_context_menu',
  191. 'sapgui_text_edit_modified_status_changed', 'sapgui_htmlviewer_send_event', 'sapgui_htmlviewer_dom_get_property',
  192. 'sapgui_toolbar_press_button', 'sapgui_toolbar_press_context_button', 'sapgui_toolbar_select_menu_item',
  193. 'sapgui_toolbar_select_menu_item_by_text', 'sapgui_toolbar_select_context_menu_item',
  194. 'sapgui_toolbar_select_context_menu_item_by_text'
  195. ),
  196. // Constants from as_sapgui.h
  197. 10 => array(
  198. 'BEGIN_OPTIONAL', 'END_OPTIONAL', 'al-keys', 'ENTER', 'HELP', 'F2', 'BACK', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9',
  199. 'F10', 'F11', 'ESC', 'SHIFT_F1', 'SHIFT_F2', 'SHIFT_F3', 'SHIFT_F4', 'SHIFT_F5', 'SHIFT_F6', 'SHIFT_F7', 'SHIFT_F8',
  200. 'SHIFT_F9', 'SHIFT_F10', 'SHIFT_F11', 'SHIFT_F12', 'CTRL_F1', 'CTRL_F2', 'CTRL_F3', 'CTRL_F4', 'CTRL_F5', 'CTRL_F6',
  201. 'CTRL_F7', 'CTRL_F8', 'CTRL_F9', 'CTRL_F10', 'CTRL_F11', 'CTRL_F12', 'CTRL_SHIFT_F1', 'CTRL_SHIFT_F2', 'CTRL_SHIFT_F3',
  202. 'CTRL_SHIFT_F4', 'CTRL_SHIFT_F5', 'CTRL_SHIFT_F6', 'CTRL_SHIFT_F7', 'CTRL_SHIFT_F8', 'CTRL_SHIFT_F9', 'CTRL_SHIFT_F10',
  203. 'CTRL_SHIFT_F11', 'CTRL_SHIFT_F12', 'CANCEL', 'CTRL_F', 'CTRL_PAGE_UP', 'PAGE_UP', 'PAGE_DOWN', 'CTRL_PAGE_DOWN',
  204. 'CTRL_G', 'CTRL_P'
  205. ),
  206. ),
  207. // Symbols and Case Sensitivity
  208. // Symbols from: http://en.wikipedia.org/wiki/C_syntax
  209. 'SYMBOLS' => array(
  210. '(', ')', '{', '}', '[', ']',
  211. '+', '-', '*', '/', '%',
  212. '=', '<', '>', '!', '^', '&', '|', '?', ':', ';', ','
  213. ),
  214. 'CASE_SENSITIVE' => array(
  215. GESHI_COMMENTS => false,
  216. 1 => true, // Standard C reserved keywords
  217. 2 => true, // C preprocessor directives
  218. 3 => true, // Functions from lrun.h
  219. 4 => true, // Constants from lrun.h
  220. 5 => true, // Functions from web_api.h
  221. 6 => true, // Constants from web_api.h
  222. 7 => true, // Functions from as_web.h
  223. 8 => true, // Constants from as_web.h
  224. 9 => true, // Functions from as_sapgui.h
  225. 10 => true, // Constants from as_sapgui.h
  226. ),
  227. // Styles
  228. 'STYLES' => array(
  229. 'KEYWORDS' => array(
  230. // Functions are brown, constants and reserved words are blue
  231. 1 => 'color: #0000ff;', // Standard C reserved keywords
  232. 2 => 'color: #0000ff;', // C preprocessor directives
  233. 3 => 'color: #8a0000;', // Functions from lrun.h
  234. 4 => 'color: #0000ff;', // Constants from lrun.h
  235. 5 => 'color: #8a0000;', // Functions from web_api.h
  236. 6 => 'color: #0000ff;', // Constants from web_api.h
  237. 7 => 'color: #8a0000;', // Functions from as_web.h
  238. 8 => 'color: #0000ff;', // Constants from as_web.h
  239. 9 => 'color: #8a0000;', // Functions from as_sapgui.h
  240. 10 => 'color: #0000ff;', // Constants from as_sapgui.h
  241. ),
  242. 'COMMENTS' => array(
  243. // Comments are grey
  244. 1 => 'color: #9b9b9b;',
  245. 'MULTI' => 'color: #9b9b9b;'
  246. ),
  247. 'ESCAPE_CHAR' => array(
  248. // GeSHi cannot define a separate style for ESCAPE_REGEXP. The style for ESCAPE_CHAR also applies to ESCAPE_REGEXP.
  249. // This is used for LoadRunner {parameters}
  250. // {parameters} are pink
  251. 0 => 'color: #c000c0;'
  252. ),
  253. 'BRACKETS' => array(
  254. 0 => 'color: #000000;'
  255. ),
  256. 'STRINGS' => array(
  257. // Strings are green
  258. 0 => 'color: #008080;'
  259. ),
  260. 'NUMBERS' => array(
  261. // Numbers are green
  262. 0 => 'color: #008080;',
  263. GESHI_NUMBER_BIN_PREFIX_0B => 'color: #008080;',
  264. GESHI_NUMBER_OCT_PREFIX => 'color: #008080;',
  265. GESHI_NUMBER_HEX_PREFIX => 'color: #008080;',
  266. GESHI_NUMBER_FLT_SCI_SHORT => 'color:#008080;',
  267. GESHI_NUMBER_FLT_SCI_ZERO => 'color:#008080;',
  268. GESHI_NUMBER_FLT_NONSCI_F => 'color:#008080;',
  269. GESHI_NUMBER_FLT_NONSCI => 'color:#008080;'
  270. ),
  271. 'METHODS' => array(
  272. 1 => 'color: #000000;'
  273. ),
  274. 'SYMBOLS' => array(
  275. 0 => 'color: #000000;'
  276. ),
  277. 'REGEXPS' => array(
  278. ),
  279. 'SCRIPT' => array(
  280. )
  281. ),
  282. // URLs for Functions
  283. 'URLS' => array(
  284. 1 => '', // Standard C reserved keywords
  285. 2 => '', // C preprocessor directives
  286. 3 => '', // Functions from lrun.h
  287. 4 => '', // Constants from lrun.h
  288. 5 => '', // Functions from web_api.h
  289. 6 => '', // Constants from web_api.h
  290. 7 => '', // Functions from as_web.h
  291. 8 => '', // Constants from as_web.h
  292. 9 => '', // Functions from as_sapgui.h
  293. 10 => '', // Constants from as_sapgui.h
  294. ),
  295. // Object Orientation
  296. 'OOLANG' => false,
  297. 'OBJECT_SPLITTERS' => array(
  298. ),
  299. // Regular Expressions
  300. // Note that REGEXPS are not applied within strings.
  301. 'REGEXPS' => array(
  302. ),
  303. // Contextual Highlighting and Strict Mode
  304. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  305. 'SCRIPT_DELIMITERS' => array(
  306. ),
  307. 'HIGHLIGHT_STRICT_BLOCK' => array(
  308. ),
  309. // Tabs
  310. // Note that if you are using <pre> tags for your code, then the browser chooses how many spaces your tabs will translate to.
  311. 'TAB_WIDTH' => 4
  312. );
  313. ?>