3 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
7 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
25 $this->colours =
array(
"blue",
"purple",
"gray",
"brown");
26 $this->quotecolour =
"blue";
27 $this->blockcommentcolour =
"green";
28 $this->linecommentcolour =
"green";
32 $this->indent =
array(
"do",
"global function",
"if");
33 $this->unindent =
array(
"end if",
"end while",
"end for",
"end function",
"end procedure",
"end type");
37 $this->stringchars =
array(
"\"");
38 $this->delimiters =
array(
"~",
"@",
"%",
"^",
"&",
"*",
"(",
")",
"-",
"+",
"|",
"\\",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ");
39 $this->escchar =
"\\";
43 $this->linecommenton =
array(
"--");
44 $this->blockcommenton =
array(
"");
45 $this->blockcommentoff =
array(
"");
49 $this->keywords =
array(
88 "allocate_low" =>
"3",
89 "allocate_string" =>
"3",
90 "atom_to_float64" =>
"3",
91 "atom_to_float32" =>
"3",
93 "bytes_to_int" =>
"3",
101 "check_break" =>
"3",
102 "command_line" =>
"3",
103 "clear_screen" =>
"3",
107 "crash_message" =>
"3",
115 "display_text_image" =>
"3",
117 "display_image" =>
"3",
118 "dos_interrupt" =>
"3",
119 "define_c_proc" =>
"3",
120 "define_c_func" =>
"3",
121 "define_c_var" =>
"3",
129 "float64_to_atom" =>
"3",
130 "float32_to_atom" =>
"3",
131 "free_console" =>
"3",
139 "get_position" =>
"3",
140 "graphics_mode" =>
"3",
141 "get_all_palette" =>
"3",
142 "get_active_page" =>
"3",
143 "get_display_page" =>
"3",
144 "get_screen_char" =>
"3",
147 "int_to_bytes" =>
"3",
148 "int_to_bits" =>
"3",
154 "lock_memory" =>
"3",
156 "mouse_events" =>
"3",
157 "mouse_pointer" =>
"3",
158 "machine_func" =>
"3",
159 "machine_proc" =>
"3",
162 "message_box" =>
"3",
173 "prompt_string" =>
"3",
174 "prompt_number" =>
"3",
179 "put_screen_char" =>
"3",
191 "read_bitmap" =>
"3",
192 "register_block" =>
"3",
200 "system_exec" =>
"3",
203 "save_bitmap" =>
"3",
204 "set_active_page" =>
"3",
205 "set_display_page" =>
"3",
207 "save_text_image" =>
"3",
208 "save_screen" =>
"3",
219 "unlock_file" =>
"3",
220 "unregister_block" =>
"3",
223 "video_config" =>
"3",
224 "wildcard_match" =>
"3",
225 "wildcard_file" =>
"3",
257 $this->linkscripts =
array(
Create styles array
The data for the language used.