| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 |
$language_data = array ( |
|---|
| 47 |
'LANG_NAME' => 'Delphi', |
|---|
| 48 |
'COMMENT_SINGLE' => array(1 => '//'), |
|---|
| 49 |
'COMMENT_MULTI' => array('(*' => '*)', '{' => '}'), |
|---|
| 50 |
'CASE_KEYWORDS' => 0, |
|---|
| 51 |
'QUOTEMARKS' => array("'", '"'), |
|---|
| 52 |
'ESCAPE_CHAR' => '', |
|---|
| 53 |
'KEYWORDS' => array( |
|---|
| 54 |
1 => array( |
|---|
| 55 |
'And', 'Array', 'As', 'Begin', 'Case', 'Class', 'Constructor', 'Destructor', 'Div', 'Do', 'DownTo', 'Else', |
|---|
| 56 |
'End', 'Except', 'File', 'Finally', 'For', 'Function', 'Goto', 'If', 'Implementation', 'In', 'Inherited', 'Interface', |
|---|
| 57 |
'Is', 'Mod', 'Not', 'Object', 'Of', 'On', 'Or', 'Packed', 'Procedure', 'Program', 'Property', 'Raise', 'Record', |
|---|
| 58 |
'Repeat', 'Set', 'Shl', 'Shr', 'Then', 'ThreadVar', 'To', 'Try', 'Unit', 'Until', 'Uses', 'While', 'With', 'Xor' |
|---|
| 59 |
), |
|---|
| 60 |
2 => array( |
|---|
| 61 |
'nil', 'false', 'true', 'var', 'type', 'const' |
|---|
| 62 |
), |
|---|
| 63 |
3 => array( |
|---|
| 64 |
'Abs', 'Addr', 'AnsiCompareStr', 'AnsiCompareText', 'AnsiContainsStr', 'AnsiEndsStr', 'AnsiIndexStr', 'AnsiLeftStr', |
|---|
| 65 |
'AnsiLowerCase', 'AnsiMatchStr', 'AnsiMidStr', 'AnsiPos', 'AnsiReplaceStr', 'AnsiReverseString', 'AnsiRightStr', |
|---|
| 66 |
'AnsiStartsStr', 'AnsiUpperCase', 'ArcCos', 'ArcSin', 'ArcTan', 'Assigned', 'BeginThread', 'Bounds', 'CelsiusToFahrenheit', |
|---|
| 67 |
'ChangeFileExt', 'Chr', 'CompareStr', 'CompareText', 'Concat', 'Convert', 'Copy', 'Cos', 'CreateDir', 'CurrToStr', |
|---|
| 68 |
'CurrToStrF', 'Date', 'DateTimeToFileDate', 'DateTimeToStr', 'DateToStr', 'DayOfTheMonth', 'DayOfTheWeek', 'DayOfTheYear', |
|---|
| 69 |
'DayOfWeek', 'DaysBetween', 'DaysInAMonth', 'DaysInAYear', 'DaySpan', 'DegToRad', 'DeleteFile', 'DiskFree', 'DiskSize', |
|---|
| 70 |
'DupeString', 'EncodeDate', 'EncodeDateTime', 'EncodeTime', 'EndOfADay', 'EndOfAMonth', 'Eof', 'Eoln', 'Exp', 'ExtractFileDir', |
|---|
| 71 |
'ExtractFileDrive', 'ExtractFileExt', 'ExtractFileName', 'ExtractFilePath', 'FahrenheitToCelsius', 'FileAge', |
|---|
| 72 |
'FileDateToDateTime', 'FileExists', 'FilePos', 'FileSearch', 'FileSetDate', 'FileSize', 'FindClose', 'FindCmdLineSwitch', |
|---|
| 73 |
'FindFirst', 'FindNext', 'FloatToStr', 'FloatToStrF', 'Format', 'FormatCurr', 'FormatDateTime', 'FormatFloat', 'Frac', |
|---|
| 74 |
'GetCurrentDir', 'GetLastError', 'GetMem', 'High', 'IncDay', 'IncMinute', 'IncMonth', 'IncYear', 'InputBox', |
|---|
| 75 |
'InputQuery', 'Int', 'IntToHex', 'IntToStr', 'IOResult', 'IsInfinite', 'IsLeapYear', 'IsMultiThread', 'IsNaN', |
|---|
| 76 |
'LastDelimiter', 'Length', 'Ln', 'Lo', 'Log10', 'Low', 'LowerCase', 'Max', 'Mean', 'MessageDlg', 'MessageDlgPos', |
|---|
| 77 |
'MonthOfTheYear', 'Now', 'Odd', 'Ord', 'ParamCount', 'ParamStr', 'Pi', 'Point', 'PointsEqual', 'Pos', 'Pred', |
|---|
| 78 |
'Printer', 'PromptForFileName', 'PtInRect', 'RadToDeg', 'Random', 'RandomRange', 'RecodeDate', 'RecodeTime', 'Rect', |
|---|
| 79 |
'RemoveDir', 'RenameFile', 'Round', 'SeekEof', 'SeekEoln', 'SelectDirectory', 'SetCurrentDir', 'Sin', 'SizeOf', |
|---|
| 80 |
'Slice', 'Sqr', 'Sqrt', 'StringOfChar', 'StringReplace', 'StringToWideChar', 'StrToCurr', 'StrToDate', 'StrToDateTime', |
|---|
| 81 |
'StrToFloat', 'StrToInt', 'StrToInt64', 'StrToInt64Def', 'StrToIntDef', 'StrToTime', 'StuffString', 'Succ', 'Sum', 'Tan', |
|---|
| 82 |
'Time', 'TimeToStr', 'Tomorrow', 'Trunc', 'UpCase', 'UpperCase', 'VarType', 'WideCharToString', 'WrapText', 'Yesterday', |
|---|
| 83 |
|
|---|
| 84 |
'Append', 'AppendStr', 'Assign', 'AssignFile', 'AssignPrn', 'Beep', 'BlockRead', 'BlockWrite', 'Break', |
|---|
| 85 |
'ChDir', 'Close', 'CloseFile', 'Continue', 'DateTimeToString', 'Dec', 'DecodeDate', 'DecodeDateTime', |
|---|
| 86 |
'DecodeTime', 'Delete', 'Dispose', 'EndThread', 'Erase', 'Exclude', 'Exit', 'FillChar', 'Flush', 'FreeAndNil', |
|---|
| 87 |
'FreeMem', 'GetDir', 'GetLocaleFormatSettings', 'Halt', 'Inc', 'Include', 'Insert', 'MkDir', 'Move', 'New', |
|---|
| 88 |
'ProcessPath', 'Randomize', 'Read', 'ReadLn', 'ReallocMem', 'Rename', 'ReplaceDate', 'ReplaceTime', |
|---|
| 89 |
'Reset', 'ReWrite', 'RmDir', 'RunError', 'Seek', 'SetLength', 'SetString', 'ShowMessage', 'ShowMessageFmt', |
|---|
| 90 |
'ShowMessagePos', 'Str', 'Truncate', 'Val', 'Write', 'WriteLn' |
|---|
| 91 |
), |
|---|
| 92 |
4 => array( |
|---|
| 93 |
'AnsiChar', 'AnsiString', 'Boolean', 'Byte', 'Cardinal', 'Char', 'Comp', 'Currency', 'Double', 'Extended', |
|---|
| 94 |
'Int64', 'Integer', 'LongInt', 'LongWord', 'PAnsiChar', 'PAnsiString', 'PChar', 'PCurrency', 'PDateTime', |
|---|
| 95 |
'PExtended', 'PInt64', 'Pointer', 'PShortString', 'PString', 'PVariant', 'PWideChar', 'PWideString', |
|---|
| 96 |
'Real', 'Real48', 'ShortInt', 'ShortString', 'Single', 'SmallInt', 'String', 'TBits', 'TConvType', 'TDateTime', |
|---|
| 97 |
'Text', 'TextFile', 'TFloatFormat', 'TFormatSettings', 'TList', 'TObject', 'TOpenDialog', 'TPoint', |
|---|
| 98 |
'TPrintDialog', 'TRect', 'TReplaceFlags', 'TSaveDialog', 'TSearchRec', 'TStringList', 'TSysCharSet', |
|---|
| 99 |
'TThreadFunc', 'Variant', 'WideChar', 'WideString', 'Word' |
|---|
| 100 |
), |
|---|
| 101 |
), |
|---|
| 102 |
'CASE_SENSITIVE' => array( |
|---|
| 103 |
GESHI_COMMENTS => true, |
|---|
| 104 |
1 => false, |
|---|
| 105 |
2 => false, |
|---|
| 106 |
3 => false, |
|---|
| 107 |
4 => false, |
|---|
| 108 |
), |
|---|
| 109 |
'STYLES' => array( |
|---|
| 110 |
'KEYWORDS' => array( |
|---|
| 111 |
1 => 'color: #000000; font-weight: bold;', |
|---|
| 112 |
2 => 'color: #000000; font-weight: bold;', |
|---|
| 113 |
3 => 'color: #000066;', |
|---|
| 114 |
4 => 'color: #993333;' |
|---|
| 115 |
), |
|---|
| 116 |
'COMMENTS' => array( |
|---|
| 117 |
1 => 'color: #808080; font-style: italic;', |
|---|
| 118 |
'MULTI' => 'color: #808080; font-style: italic;' |
|---|
| 119 |
), |
|---|
| 120 |
'ESCAPE_CHAR' => array( |
|---|
| 121 |
), |
|---|
| 122 |
'BRACKETS' => array( |
|---|
| 123 |
0 => 'color: #66cc66;' |
|---|
| 124 |
), |
|---|
| 125 |
'STRINGS' => array( |
|---|
| 126 |
0 => 'color: #ff0000;' |
|---|
| 127 |
), |
|---|
| 128 |
'NUMBERS' => array( |
|---|
| 129 |
0 => 'color: #cc66cc;' |
|---|
| 130 |
), |
|---|
| 131 |
'METHODS' => array( |
|---|
| 132 |
1 => 'color: #006600;' |
|---|
| 133 |
), |
|---|
| 134 |
'REGEXPS' => array( |
|---|
| 135 |
0 => 'color: #9ac;', |
|---|
| 136 |
1 => 'color: #ff0000;' |
|---|
| 137 |
), |
|---|
| 138 |
'SYMBOLS' => array( |
|---|
| 139 |
0 => 'color: #66cc66;' |
|---|
| 140 |
), |
|---|
| 141 |
'SCRIPT' => array( |
|---|
| 142 |
) |
|---|
| 143 |
), |
|---|
| 144 |
'URLS' => array( |
|---|
| 145 |
1 => '', |
|---|
| 146 |
2 => '', |
|---|
| 147 |
3 => '', |
|---|
| 148 |
4 => '' |
|---|
| 149 |
), |
|---|
| 150 |
'OOLANG' => true, |
|---|
| 151 |
'OBJECT_SPLITTERS' => array( |
|---|
| 152 |
1 => '.' |
|---|
| 153 |
), |
|---|
| 154 |
'REGEXPS' => array( |
|---|
| 155 |
0 => '\$[0-9a-fA-F]+', |
|---|
| 156 |
1 => '\#\$?[0-9]{1,3}' |
|---|
| 157 |
), |
|---|
| 158 |
'STRICT_MODE_APPLIES' => GESHI_NEVER, |
|---|
| 159 |
'SCRIPT_DELIMITERS' => array( |
|---|
| 160 |
), |
|---|
| 161 |
'HIGHLIGHT_STRICT_BLOCK' => array( |
|---|
| 162 |
) |
|---|
| 163 |
); |
|---|
| 164 |
|
|---|
| 165 |
?> |
|---|