2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"purple",
"gray",
"brown",
"blue",
"purple",
"gray");
21 $this->quotecolour =
"blue";
22 $this->blockcommentcolour =
"green";
23 $this->linecommentcolour =
"green";
27 $this->indent = array(
"Then",
"Begin",
"Lock",
"repeat",
"while",
"enumeration_list",
"class",
"object");
28 $this->unindent = array(
"End",
"Next",
"End If",
"End Select",
"Unlock",
"loop",
"end_enumeration_list",
"end_class",
"end_object");
32 $this->stringchars = array();
33 $this->delimiters = array();
38 $this->linecommenton = array(
"//");
39 $this->blockcommenton = array(
"//*");
40 $this->blockcommentoff = array(
"*//");
44 $this->keywords = array(
50 "abort_transaction" =>
"2",
52 "activate_view" =>
"2",
55 "append_output" =>
"2",
61 "begin_contraints" =>
"2",
62 "begin_transaction" =>
"2",
67 "broadcast_focus" =>
"2",
72 "cd_end_object" =>
"2",
73 "cd_popup_object" =>
"2",
78 "clear_option" =>
"2",
81 "clearwarning" =>
"2",
85 "close_output" =>
"2",
88 "contrained_clear" =>
"2",
89 "constrained_find" =>
"2",
90 "constraint_set" =>
"2",
91 "constraint_validate" =>
"2",
93 "copy_records" =>
"2",
95 "create_field" =>
"2",
96 "create_index" =>
"2",
99 "declare_datafile" =>
"2",
101 "deferred_view" =>
"2",
106 "delete_field" =>
"2",
107 "delete_index" =>
"2",
108 "dependent_item" =>
"2",
110 "direct_input" =>
"2",
111 "direct_output" =>
"2",
118 "end_constraints" =>
"2",
119 "end_function" =>
"2",
120 "end_enumeration_list" =>
"2",
121 "end_item_group" =>
"2",
122 "end_item_list" =>
"2",
124 "end_procedure" =>
"2",
125 "end_transaction" =>
"2",
136 "entry_name_item" =>
"2",
137 "enumeration_list" =>
"2",
140 "error_report" =>
"2",
141 "export_files" =>
"2",
154 "forward_begin_construct" =>
"2",
155 "forward_end_construct" =>
"2",
158 "function_return" =>
"2",
160 "get_argument_size" =>
"2",
161 "get_attribute" =>
"2",
162 "get_channel_position" =>
"2",
163 "get_channel_size" =>
"2",
164 "get_current_colors" =>
"2",
165 "get_current_directory" =>
"2",
166 "get_current_input_channel" =>
"2",
167 "get_current_lockcount" =>
"2",
168 "get_current_output_channel" =>
"2",
169 "get_current_user_count" =>
"2",
170 "get_date_format" =>
"2",
171 "get_environment" =>
"2",
172 "get_field_value" =>
"2",
173 "get_filelist" =>
"2",
174 "get_licensed_max_users" =>
"2",
175 "get_number_format" =>
"2",
176 "get_resource_name" =>
"2",
177 "get_resource_type" =>
"2",
178 "get_transaction_retry" =>
"2",
179 "get_video_mode" =>
"2",
188 "import_class_protocol" =>
"2",
190 "include_resource" =>
"2",
195 "inherit_screen" =>
"2",
200 "is_file_included" =>
"2",
208 "local_driver" =>
"2",
223 "move_sub_page" =>
"2",
227 "name_object" =>
"2",
234 "on_name_item" =>
"2",
237 "output_aux_file" =>
"2",
238 "output_wrap" =>
"2",
247 "procedure_return" =>
"2",
254 "register_function" =>
"2",
255 "register_object" =>
"2",
256 "register_procedure" =>
"2",
257 "register_resource" =>
"2",
258 "registration" =>
"2",
262 "repeat_item" =>
"2",
273 "screen_optimize" =>
"2",
277 "set_argument_size" =>
"2",
278 "set_attribute" =>
"2",
279 "set_channel_position" =>
"2",
281 "set_field_value" =>
"2",
282 "set_filelist" =>
"2",
285 "set_resource_library" =>
"2",
286 "set_transaction_retry" =>
"2",
287 "set_video_mode" =>
"2",
296 "structure_abort" =>
"2",
297 "structure_copy" =>
"2",
298 "structure_end" =>
"2",
299 "structure_start" =>
"2",
311 "unload_driver" =>
"2",
370 "autofind_ge" =>
"5",
375 "displayonly" =>
"5",
380 "modal_insert" =>
"5",
396 "zero_suppress" =>
"5",
397 "constrain_found_count" =>
"6",
398 "constrain_tests_count" =>
"6",
399 "current_image" =>
"6",
400 "current_window" =>
"6",
414 $this->linkscripts = array(