3
if (!isset ($BEAUT_PATH)) return;
4
require_once("$BEAUT_PATH/Beautifier/HFile.php");
5
class HFile_kixtart extends HFile{
6
function HFile_kixtart(){
8
/*************************************/
9
// Beautifier Highlighting Configuration File
11
/*************************************/
20
$this->colours = array("blue", "purple");
21
$this->quotecolour = "blue";
22
$this->blockcommentcolour = "green";
23
$this->linecommentcolour = "green";
27
$this->indent = array();
28
$this->unindent = array();
30
// String characters and delimiters
32
$this->stringchars = array("\"", "'");
33
$this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "-", "+", "=", "(", ")", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
38
$this->linecommenton = array(";");
39
$this->blockcommenton = array("");
40
$this->blockcommentoff = array("");
42
// Keywords (keyword mapping to colour number)
44
$this->keywords = array(
97
"ADDPRINTERCONNECTION" => "2",
98
"ADDPROGRAMGROUP" => "2",
99
"ADDPROGRAMITEM" => "2",
101
"BACKUPEVENTLOG" => "2",
103
"CLEAREVENTLOG" => "2",
105
"COMPAREFILETIMES" => "2",
108
"DELPRINTERCONNECTION" => "2",
109
"DELPROGRAMGROUP" => "2",
110
"DELPROGRAMITEM" => "2",
116
"ENUMLOCALGROUP" => "2",
121
"EXPANDENVIRONMENTVARS" => "2",
122
"GETDISKSPACE" => "2",
123
"GETFILEATTR" => "2",
124
"GETFILESIZE" => "2",
125
"GETFILETIME" => "2",
126
"GETFILEVERSION" => "2",
137
"OLECALLFUNC" => "2",
138
"OLECALLPROC" => "2",
139
"OLECREATEOBJECT" => "2",
140
"OLEENUMOBJECT" => "2",
141
"OLEGETOBJECT" => "2",
142
"OLEGETPROPERTY" => "2",
143
"OLEGETSUBOBJECT" => "2",
144
"OLEPUTPROPERTY" => "2",
145
"OLERELEASEOBJECT" => "2",
148
"READPROFILESTRING" => "2",
151
"REDIRECTOUTPUT" => "2",
156
"SENDMESSAGE" => "2",
159
"SETDEFAULTPRINTER" => "2",
160
"SETFILEATTR" => "2",
162
"SETWALLPAPER" => "2",
163
"SHOWPROGRAMGROUP" => "2",
171
"WRITEPROFILESTRING" => "2",
172
"WRITEVALUE" => "2");
174
// Special extensions
176
// Each category can specify a PHP function that returns an altered
177
// version of the keyword.
181
$this->linkscripts = array(
187
function donothing($keywordin)