00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005 class HFile_wil extends HFile{
00006 function HFile_wil(){
00007 $this->HFile();
00008
00009
00010
00011
00012
00013
00014 $this->nocase = "0";
00015 $this->notrim = "0";
00016 $this->perl = "0";
00017
00018
00019
00020 $this->colours = array("blue");
00021 $this->quotecolour = "blue";
00022 $this->blockcommentcolour = "green";
00023 $this->linecommentcolour = "green";
00024
00025
00026
00027 $this->indent = array("(");
00028 $this->unindent = array(")");
00029
00030
00031
00032 $this->stringchars = array();
00033 $this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
00034 $this->escchar = "";
00035
00036
00037
00038 $this->linecommenton = array("");
00039 $this->blockcommenton = array("");
00040 $this->blockcommentoff = array("");
00041
00042
00043
00044 $this->keywords = array(
00045 "/L10" => "",
00046 "\"WIL\"" => "",
00047 "Line" => "",
00048 "Comment" => "",
00049 "=" => "",
00050 ";" => "",
00051 "String" => "",
00052 "Chars" => "",
00053 "\"'" => "",
00054 "File" => "",
00055 "Extensions" => "",
00056 "WBT" => "",
00057 "WIL" => "",
00058 "About" => "1",
00059 "Abs" => "1",
00060 "Acos" => "1",
00061 "AddExtender" => "1",
00062 "AppExist" => "1",
00063 "AppWaitClose" => "1",
00064 "Asin" => "1",
00065 "AskDirectory" => "1",
00066 "AskFileName" => "1",
00067 "AskFileText" => "1",
00068 "AskItemList" => "1",
00069 "AskLine" => "1",
00070 "AskPassword" => "1",
00071 "AskYesNo" => "1",
00072 "Atan" => "1",
00073 "Average" => "1",
00074 "Beep" => "1",
00075 "BinaryAlloc" => "1",
00076 "BinaryAnd" => "1",
00077 "BinaryClipGet" => "1",
00078 "BinaryClipPut" => "1",
00079 "BinaryCompare" => "1",
00080 "BinaryConvert" => "1",
00081 "BinaryCopy" => "1",
00082 "BinaryEodGet" => "1",
00083 "BinaryEodSet" => "1",
00084 "BinaryFree" => "1",
00085 "BinaryHashRec" => "1",
00086 "BinaryIncr" => "1",
00087 "BinaryIncr2" => "1",
00088 "BinaryIncr4" => "1",
00089 "BinaryIncrFlt" => "1",
00090 "BinaryIndex" => "1",
00091 "BinaryIndexEx" => "1",
00092 "BinaryOleType" => "1",
00093 "BinaryOr" => "1",
00094 "BinaryPeek" => "1",
00095 "BinaryPeek2" => "1",
00096 "BinaryPeek4" => "1",
00097 "BinaryPeekFlt" => "1",
00098 "BinaryPeekStr" => "1",
00099 "BinaryPoke" => "1",
00100 "BinaryPoke2" => "1",
00101 "BinaryPoke4" => "1",
00102 "BinaryPokeFlt" => "1",
00103 "BinaryPokeStr" => "1",
00104 "BinaryRead" => "1",
00105 "BinaryReadEx" => "1",
00106 "BinarySort" => "1",
00107 "BinaryStrCnt" => "1",
00108 "BinaryTagExtr" => "1",
00109 "BinaryTagFind" => "1",
00110 "BinaryTagInit" => "1",
00111 "BinaryTagRepl" => "1",
00112 "BinaryWrite" => "1",
00113 "BinaryWriteEx" => "1",
00114 "BinaryXor" => "1",
00115 "Break" => "1",
00116 "ButtonNames" => "1",
00117 "Call" => "1",
00118 "Ceiling" => "1",
00119 "Char2Num" => "1",
00120 "ClipAppend" => "1",
00121 "ClipGet" => "1",
00122 "ClipGetEx" => "1",
00123 "ClipPut" => "1",
00124 "Continue" => "1",
00125 "Cos" => "1",
00126 "Cosh" => "1",
00127 "CurrentFile" => "1",
00128 "CurrFilePath" => "1",
00129 "CurrentPath" => "1",
00130 "DDEExecute" => "1",
00131 "DDEInitiate" => "1",
00132 "DDEPoke" => "1",
00133 "DDERequest" => "1",
00134 "DDETerminate" => "1",
00135 "DDETimeout" => "1",
00136 "Debug" => "1",
00137 "DebugData" => "1",
00138 "DebugTrace" => "1",
00139 "Decimals" => "1",
00140 "Dialog" => "1",
00141 "DirAttrGet" => "1",
00142 "DirAttrSet" => "1",
00143 "DirChange" => "1",
00144 "DirExist" => "1",
00145 "DirGet" => "1",
00146 "DirHome" => "1",
00147 "DirItemize" => "1",
00148 "DirMake" => "1",
00149 "DirRemove" => "1",
00150 "DirRename" => "1",
00151 "DirSize" => "1",
00152 "DirWindows" => "1",
00153 "DiskExist" => "1",
00154 "DiskFree" => "1",
00155 "DiskInfo" => "1",
00156 "DiskScan" => "1",
00157 "DiskSize" => "1",
00158 "DiskVolInfo" => "1",
00159 "Display" => "1",
00160 "DllCall" => "1",
00161 "DllFree" => "1",
00162 "DllHinst" => "1",
00163 "DllHwnd" => "1",
00164 "DllLoad" => "1",
00165 "DOSVersion" => "1",
00166 "Drop" => "1",
00167 "DropWild" => "1",
00168 "Else" => "1",
00169 "Endif" => "1",
00170 "EndSession" => "1",
00171 "Environment" => "1",
00172 "EnvironSet" => "1",
00173 "EnvItemize" => "1",
00174 "ErrorMode" => "1",
00175 "Exclusive" => "1",
00176 "Executestatement" => "1",
00177 "ExeTypeInfo" => "1",
00178 "Exit" => "1",
00179 "Exp" => "1",
00180 "Fabs" => "1",
00181 "FileAppend" => "1",
00182 "FileAttrGet" => "1",
00183 "FileAttrSet" => "1",
00184 "FileClose" => "1",
00185 "FileCompare" => "1",
00186 "FileCopy" => "1",
00187 "FileCopyAttr" => "1",
00188 "FileDelete" => "1",
00189 "FileExist" => "1",
00190 "FileExtension" => "1",
00191 "FileFullName" => "1",
00192 "FileItemize" => "1",
00193 "FileLocate" => "1",
00194 "FileMapName" => "1",
00195 "FileMove" => "1",
00196 "FileMoveAttr" => "1",
00197 "FileNameLong" => "1",
00198 "FileNameShort" => "1",
00199 "FileOpen" => "1",
00200 "FilePath" => "1",
00201 "FileRead" => "1",
00202 "FileRename" => "1",
00203 "FileRoot" => "1",
00204 "FileSize" => "1",
00205 "FileTimeCode" => "1",
00206 "FileTimeGet" => "1",
00207 "FileTimeGetEx" => "1",
00208 "FileTimeSet" => "1",
00209 "FileTimeSetEx" => "1",
00210 "FileTimeTouch" => "1",
00211 "FileVerInfo" => "1",
00212 "FileWrite" => "1",
00213 "FileYmdHms" => "1",
00214 "FindWindow" => "1",
00215 "Floor" => "1",
00216 "For" => "1",
00217 "GetExactTime" => "1",
00218 "GetTickCount" => "1",
00219 "GoSub" => "1",
00220 "Gotolabel" => "1",
00221 "IconReplace" => "1",
00222 "If" => "1",
00223 "IniDelete" => "1",
00224 "IniDeletePvt" => "1",
00225 "IniItemize" => "1",
00226 "IniItemizePvt" => "1",
00227 "IniRead" => "1",
00228 "IniReadPvt" => "1",
00229 "IniWrite" => "1",
00230 "IniWritePvt" => "1",
00231 "InstallFile" => "1",
00232 "Int" => "1",
00233 "IntControl" => "1",
00234 "IsDefined" => "1",
00235 "IsFloat" => "1",
00236 "IsInt" => "1",
00237 "IsKeyDown" => "1",
00238 "IsLicensed" => "1",
00239 "IsMenuChecked" => "1",
00240 "IsMenuEnabled" => "1",
00241 "IsNumber" => "1",
00242 "ItemCount" => "1",
00243 "ItemExtract" => "1",
00244 "ItemInsert" => "1",
00245 "ItemLocate" => "1",
00246 "ItemRemove" => "1",
00247 "ItemSort" => "1",
00248 "KeyToggleGet" => "1",
00249 "KeyToggleSet" => "1",
00250 "LastError" => "1",
00251 "Log10" => "1",
00252 "LogDisk" => "1",
00253 "LogE" => "1",
00254 "Max" => "1",
00255 "MenuChange" => "1",
00256 "Message" => "1",
00257 "Min" => "1",
00258 "MouseClick" => "1",
00259 "MouseClickBtn" => "1",
00260 "MouseCoords" => "1",
00261 "MouseInfo" => "1",
00262 "MouseMove" => "1",
00263 "MsgTextGet" => "1",
00264 "NetInfo" => "1",
00265 "Num2Char" => "1",
00266 "ParseData" => "1",
00267 "Pause" => "1",
00268 "PlayMedia" => "1",
00269 "PlayMidi" => "1",
00270 "PlayWaveForm" => "1",
00271 "Print" => "1",
00272 "Random" => "1",
00273 "RegApp" => "1",
00274 "RegCloseKey" => "1",
00275 "RegConnect" => "1",
00276 "RegCreateKey" => "1",
00277 "RegDeleteKey" => "1",
00278 "RegDelValue" => "1",
00279 "RegEntryType" => "1",
00280 "RegExistKey" => "1",
00281 "RegExistValue" => "1",
00282 "RegLoadHive" => "1",
00283 "RegOpenKey" => "1",
00284 "RegQueryBin" => "1",
00285 "RegQueryDword" => "1",
00286 "RegQueryEx" => "1",
00287 "RegQueryExpSz" => "1",
00288 "RegQueryItem" => "1",
00289 "RegQueryKey" => "1",
00290 "RegQueryKeys" => "1",
00291 "RegQueryMulSz" => "1",
00292 "RegQueryValue" => "1",
00293 "RegSetBin" => "1",
00294 "RegSetDword" => "1",
00295 "RegSetEx" => "1",
00296 "RegSetExpSz" => "1",
00297 "RegSetMulSz" => "1",
00298 "RegSetValue" => "1",
00299 "RegUnloadHive" => "1",
00300 "Reload" => "1",
00301 "Return" => "1",
00302 "Run" => "1",
00303 "RunEnviron" => "1",
00304 "RunHide" => "1",
00305 "RunHideWait" => "1",
00306 "RunIcon" => "1",
00307 "RunIconWait" => "1",
00308 "RunShell" => "1",
00309 "RunWait" => "1",
00310 "RunZoom" => "1",
00311 "RunZoomWait" => "1",
00312 "Selectvarname" => "1",
00313 "SendKey" => "1",
00314 "SendKeysChild" => "1",
00315 "SendKeysTo" => "1",
00316 "SendMenusTo" => "1",
00317 "ShellExecute" => "1",
00318 "ShortcutDir" => "1",
00319 "ShortcutEdit" => "1",
00320 "ShortcutExtra" => "1",
00321 "ShortcutInfo" => "1",
00322 "ShortcutMake" => "1",
00323 "Sin" => "1",
00324 "Sinh" => "1",
00325 "SnapShot" => "1",
00326 "Sounds" => "1",
00327 "Sqrt" => "1",
00328 "StrCat" => "1",
00329 "StrCharCount" => "1",
00330 "StrCmp" => "1",
00331 "StrFill" => "1",
00332 "StrFix" => "1",
00333 "StrFixChars" => "1",
00334 "StrFixCharsL" => "1",
00335 "StrFixLeft" => "1",
00336 "StriCmp" => "1",
00337 "StrIndex" => "1",
00338 "StrIndexNc" => "1",
00339 "StrIndexWild" => "1",
00340 "StrLen" => "1",
00341 "StrLenWild" => "1",
00342 "StrLower" => "1",
00343 "StrReplace" => "1",
00344 "StrScan" => "1",
00345 "StrSub" => "1",
00346 "StrSubWild" => "1",
00347 "StrTrim" => "1",
00348 "StrUpper" => "1",
00349 "Switchvarname" => "1",
00350 "Tan" => "1",
00351 "Tanh" => "1",
00352 "Terminate" => "1",
00353 "TimeAdd" => "1",
00354 "TimeDate" => "1",
00355 "TimeDayofWeek" => "1",
00356 "TimeDayofYear" => "1",
00357 "TimeDelay" => "1",
00358 "TimeDiff" => "1",
00359 "TimeDiffDays" => "1",
00360 "TimeDiffSecs" => "1",
00361 "TimeJulianDay" => "1",
00362 "TimeJulToYmd" => "1",
00363 "TimeSubtract" => "1",
00364 "TimeWait" => "1",
00365 "TimeYmdHms" => "1",
00366 "to" => "1",
00367 "Version" => "1",
00368 "VersionDLL" => "1",
00369 "WaitForKey" => "1",
00370 "WallPaper" => "1",
00371 "While" => "1",
00372 "WinActivate" => "1",
00373 "WinActivChild" => "1",
00374 "WinArrange" => "1",
00375 "WinClose" => "1",
00376 "WinExeName" => "1",
00377 "WinExist" => "1",
00378 "WinExistChild" => "1",
00379 "WinGetActive" => "1",
00380 "WinHelp" => "1",
00381 "WinHide" => "1",
00382 "WinIconize" => "1",
00383 "WinIdGet" => "1",
00384 "WinIsDOS" => "1",
00385 "WinItemChild" => "1",
00386 "WinItemize" => "1",
00387 "WinItemizeEx" => "1",
00388 "WinItemNameId" => "1",
00389 "WinItemProcID" => "1",
00390 "WinMetrics" => "1",
00391 "WinName" => "1",
00392 "WinParmGet" => "1",
00393 "WinParmSet" => "1",
00394 "WinPlace" => "1",
00395 "WinPlaceGet" => "1",
00396 "WinPlaceSet" => "1",
00397 "WinPosition" => "1",
00398 "WinResources" => "1",
00399 "WinShow" => "1",
00400 "WinState" => "1",
00401 "WinSysInfo" => "1",
00402 "WinTitle" => "1",
00403 "WinVersion" => "1",
00404 "WinWaitChild" => "1",
00405 "WinWaitClose" => "1",
00406 "WinWaitExist" => "1",
00407 "WinZoom" => "1",
00408 "Yield" => "1",
00409 "Yields" => "1");
00410
00411
00412
00413
00414
00415
00416
00417
00418 $this->linkscripts = array(
00419 "" => "donothing",
00420 "1" => "donothing");
00421 }
00422
00423
00424 function donothing($keywordin)
00425 {
00426 return $keywordin;
00427 }
00428
00429 }?>