KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

inno.php 13KB

11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. <?php
  2. /*************************************************************************************
  3. * Inno.php
  4. * ----------
  5. * Author: Thomas Klingler (hotline@theratech.de) based on delphi.php from J�rja Norbert (jnorbi@vipmail.hu)
  6. * Copyright: (c) 2004 J�rja Norbert, Nigel McNie (http://qbnz.com/highlighter)
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2005/07/29
  9. *
  10. * Inno Script language inkl. Delphi (Object Pascal) language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2005/09/03
  15. * - First Release
  16. *
  17. * TODO (updated 2005/07/27)
  18. * -------------------------
  19. *
  20. *************************************************************************************
  21. *
  22. * This file is part of GeSHi.
  23. *
  24. * GeSHi is free software; you can redistribute it and/or modify
  25. * it under the terms of the GNU General Public License as published by
  26. * the Free Software Foundation; either version 2 of the License, or
  27. * (at your option) any later version.
  28. *
  29. * GeSHi is distributed in the hope that it will be useful,
  30. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  31. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  32. * GNU General Public License for more details.
  33. *
  34. * You should have received a copy of the GNU General Public License
  35. * along with GeSHi; if not, write to the Free Software
  36. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  37. *
  38. ************************************************************************************/
  39. $language_data = array (
  40. 'LANG_NAME' => 'Inno',
  41. 'COMMENT_SINGLE' => array(1 => '//'),
  42. 'COMMENT_MULTI' => array('(*' => '*)'),
  43. 'CASE_KEYWORDS' => 0,
  44. 'QUOTEMARKS' => array("'", '"'),
  45. 'ESCAPE_CHAR' => '',
  46. 'KEYWORDS' => array(
  47. 1 => array(
  48. 'Setup','Types','Components','Tasks','Dirs','Files','Icons','INI',
  49. 'InstallDelete','Languages','Messages','CustomMessage',
  50. 'LangOptions','Registry','RUN','UninstallDelete','UninstallRun',
  51. 'app','win','sys','syswow64','src','sd','pf','pf32','pf64','cf',
  52. 'cf32','cf64','tmp','fonts','dao','group','localappdata','sendto',
  53. 'userappdata','commonappdata','userdesktop','commondesktop',
  54. 'userdocs','commondocs','userfavorites','commonfavorites',
  55. 'userprograms','commonprograms','userstartmenu','commonstartmenu',
  56. 'userstartup','commonstartup','usertemplates','commontemplates'
  57. ),
  58. 2 => array(
  59. 'nil', 'false', 'true', 'var', 'type', 'const','And', 'Array', 'As', 'Begin', 'Case', 'Class', 'Constructor', 'Destructor', 'Div', 'Do', 'DownTo', 'Else',
  60. 'End', 'Except', 'File', 'Finally', 'For', 'Function', 'Goto', 'If', 'Implementation', 'In', 'Inherited', 'Interface',
  61. 'Is', 'Mod', 'Not', 'Object', 'Of', 'On', 'Or', 'Packed', 'Procedure', 'Property', 'Raise', 'Record',
  62. 'Repeat', 'Set', 'Shl', 'Shr', 'Then', 'ThreadVar', 'To', 'Try', 'Unit', 'Until', 'Uses', 'While', 'With', 'Xor',
  63. 'HKCC','HKCR','HKCU','HKLM','HKU','alwaysoverwrite','alwaysskipifsameorolder','append',
  64. 'binary','classic','closeonexit','comparetimestamp','confirmoverwrite',
  65. 'createkeyifdoesntexist','createonlyiffileexists','createvalueifdoesntexist',
  66. 'deleteafterinstall','deletekey','deletevalue','dirifempty','dontcloseonexit',
  67. 'dontcopy','dontcreatekey','disablenouninstallwarning','dword','exclusive','expandsz',
  68. 'external','files','filesandordirs','fixed','fontisnttruetype','ignoreversion','iscustom','isreadme',
  69. 'modern','multisz','new','noerror','none','normal','nowait','onlyifdestfileexists',
  70. 'onlyifdoesntexist','onlyifnewer','overwrite','overwritereadonly','postinstall',
  71. 'preservestringtype','promptifolder','regserver','regtypelib','restart','restartreplace',
  72. 'runhidden','runmaximized','runminimized','sharedfile','shellexec','showcheckbox',
  73. 'skipifnotsilent','skipifsilent','silent','skipifdoesntexist',
  74. 'skipifsourcedoesntexist','sortfilesbyextension','unchecked','uninsalwaysuninstall',
  75. 'uninsclearvalue','uninsdeleteentry','uninsdeletekey','uninsdeletekeyifempty',
  76. 'uninsdeletesection','uninsdeletesectionifempty','uninsdeletevalue',
  77. 'uninsneveruninstall','useapppaths','verysilent','waituntilidle'
  78. ),
  79. 3 => array(
  80. 'Abs', 'Addr', 'AnsiCompareStr', 'AnsiCompareText', 'AnsiContainsStr', 'AnsiEndsStr', 'AnsiIndexStr', 'AnsiLeftStr',
  81. 'AnsiLowerCase', 'AnsiMatchStr', 'AnsiMidStr', 'AnsiPos', 'AnsiReplaceStr', 'AnsiReverseString', 'AnsiRightStr',
  82. 'AnsiStartsStr', 'AnsiUpperCase', 'ArcCos', 'ArcSin', 'ArcTan', 'Assigned', 'BeginThread', 'Bounds', 'CelsiusToFahrenheit',
  83. 'ChangeFileExt', 'Chr', 'CompareStr', 'CompareText', 'Concat', 'Convert', 'Copy', 'Cos', 'CreateDir', 'CurrToStr',
  84. 'CurrToStrF', 'Date', 'DateTimeToFileDate', 'DateTimeToStr', 'DateToStr', 'DayOfTheMonth', 'DayOfTheWeek', 'DayOfTheYear',
  85. 'DayOfWeek', 'DaysBetween', 'DaysInAMonth', 'DaysInAYear', 'DaySpan', 'DegToRad', 'DeleteFile', 'DiskFree', 'DiskSize',
  86. 'DupeString', 'EncodeDate', 'EncodeDateTime', 'EncodeTime', 'EndOfADay', 'EndOfAMonth', 'Eof', 'Eoln', 'Exp', 'ExtractFileDir',
  87. 'ExtractFileDrive', 'ExtractFileExt', 'ExtractFileName', 'ExtractFilePath', 'FahrenheitToCelsius', 'FileAge',
  88. 'FileDateToDateTime', 'FileExists', 'FilePos', 'FileSearch', 'FileSetDate', 'FileSize', 'FindClose', 'FindCmdLineSwitch',
  89. 'FindFirst', 'FindNext', 'FloatToStr', 'FloatToStrF', 'Format', 'FormatCurr', 'FormatDateTime', 'FormatFloat', 'Frac',
  90. 'GetCurrentDir', 'GetLastError', 'GetMem', 'High', 'IncDay', 'IncMinute', 'IncMonth', 'IncYear', 'InputBox',
  91. 'InputQuery', 'Int', 'IntToHex', 'IntToStr', 'IOResult', 'IsInfinite', 'IsLeapYear', 'IsMultiThread', 'IsNaN',
  92. 'LastDelimiter', 'Length', 'Ln', 'Lo', 'Log10', 'Low', 'LowerCase', 'Max', 'Mean', 'MessageDlg', 'MessageDlgPos',
  93. 'MonthOfTheYear', 'Now', 'Odd', 'Ord', 'ParamCount', 'ParamStr', 'Pi', 'Point', 'PointsEqual', 'Pos', 'Pred',
  94. 'Printer', 'PromptForFileName', 'PtInRect', 'RadToDeg', 'Random', 'RandomRange', 'RecodeDate', 'RecodeTime', 'Rect',
  95. 'RemoveDir', 'RenameFile', 'Round', 'SeekEof', 'SeekEoln', 'SelectDirectory', 'SetCurrentDir', 'Sin', 'SizeOf',
  96. 'Slice', 'Sqr', 'Sqrt', 'StringOfChar', 'StringReplace', 'StringToWideChar', 'StrToCurr', 'StrToDate', 'StrToDateTime',
  97. 'StrToFloat', 'StrToInt', 'StrToInt64', 'StrToInt64Def', 'StrToIntDef', 'StrToTime', 'StuffString', 'Succ', 'Sum', 'Tan',
  98. 'Time', 'TimeToStr', 'Tomorrow', 'Trunc', 'UpCase', 'UpperCase', 'VarType', 'WideCharToString', 'WrapText', 'Yesterday',
  99. 'Append', 'AppendStr', 'Assign', 'AssignFile', 'AssignPrn', 'Beep', 'BlockRead', 'BlockWrite', 'Break',
  100. 'ChDir', 'Close', 'CloseFile', 'Continue', 'DateTimeToString', 'Dec', 'DecodeDate', 'DecodeDateTime',
  101. 'DecodeTime', 'Delete', 'Dispose', 'EndThread', 'Erase', 'Exclude', 'Exit', 'FillChar', 'Flush', 'FreeAndNil',
  102. 'FreeMem', 'GetDir', 'GetLocaleFormatSettings', 'Halt', 'Inc', 'Include', 'Insert', 'MkDir', 'Move', 'New',
  103. 'ProcessPath', 'Randomize', 'Read', 'ReadLn', 'ReallocMem', 'Rename', 'ReplaceDate', 'ReplaceTime',
  104. 'Reset', 'ReWrite', 'RmDir', 'RunError', 'Seek', 'SetLength', 'SetString', 'ShowMessage', 'ShowMessageFmt',
  105. 'ShowMessagePos', 'Str', 'Truncate', 'Val', 'Write', 'WriteLn',
  106. 'AdminPrivilegesRequired','AfterInstall','AllowCancelDuringInstall','AllowNoIcons','AllowRootDirectory','AllowUNCPath','AlwaysRestart','AlwaysShowComponentsList','AlwaysShowDirOnReadyPage','AlwaysShowGroupOnReadyPage ','AlwaysUsePersonalGroup','AppComments','AppContact','AppCopyright','AppendDefaultDirName',
  107. 'AppendDefaultGroupName','AppId','AppModifyPath','AppMutex','AppName','AppPublisher',
  108. 'AppPublisherURL','AppReadmeFile','AppSupportURL','AppUpdatesURL','AppVerName','AppVersion',
  109. 'Attribs','BackColor','BackColor2','BackColorDirection','BackSolid','BeforeInstall',
  110. 'ChangesAssociations','ChangesEnvironment','Check','CodeFile','Comment','Compression','CopyMode',
  111. 'CreateAppDir','CreateUninstallRegKey','DefaultDirName','DefaultGroupName',
  112. 'DefaultUserInfoName','DefaultUserInfoOrg','DefaultUserInfoSerial',
  113. 'Description','DestDir','DestName','DirExistsWarning',
  114. 'DisableDirPage','DisableFinishedPage',
  115. 'DisableProgramGroupPage','DisableReadyMemo','DisableReadyPage',
  116. 'DisableStartupPrompt','DiskClusterSize','DiskSliceSize','DiskSpaceMBLabel',
  117. 'DiskSpanning','DontMergeDuplicateFiles','EnableDirDoesntExistWarning','Encryption',
  118. 'Excludes','ExtraDiskSpaceRequired','Filename','Flags','FlatComponentsList','FontInstall',
  119. 'GroupDescription','HotKey','IconFilename','IconIndex','InfoAfterFile','InfoBeforeFile',
  120. 'InternalCompressLevel','Key','LanguageDetectionMethod',
  121. 'LicenseFile','MergeDuplicateFiles','MessagesFile','MinVersion','Name',
  122. 'OnlyBelowVersion','OutputBaseFilename','OutputManifestFile','OutputDir',
  123. 'Parameters','Password','Permissions','PrivilegesRequired','ReserveBytes',
  124. 'RestartIfNeededByRun','Root','RunOnceId','Section','SetupIconFile',
  125. 'ShowComponentSizes','ShowLanguageDialog','ShowTasksTreeLines','SlicesPerDisk',
  126. 'SolidCompression','Source','SourceDir','StatusMsg','Subkey',
  127. 'TimeStampRounding','TimeStampsInUTC','TouchDate','TouchTime','Type',
  128. 'UninstallDisplayIcon','UninstallDisplayName','UninstallFilesDir','UninstallIconFile',
  129. 'UninstallLogMode','UninstallRestartComputer','UninstallStyle','Uninstallable',
  130. 'UpdateUninstallLogAppName','UsePreviousAppDir','UsePreviousGroup',
  131. 'UsePreviousTasks','UsePreviousSetupType','UsePreviousUserInfo',
  132. 'UserInfoPage','UseSetupLdr','ValueData','ValueName','ValueType',
  133. 'VersionInfoVersion','VersionInfoCompany','VersionInfoDescription','VersionInfoTextVersion',
  134. 'WindowResizable','WindowShowCaption','WindowStartMaximized',
  135. 'WindowVisible','WizardImageBackColor','WizardImageFile','WizardImageStretch','WizardSmallImageBackColor','WizardSmallImageFile','WizardStyle','WorkingDir'
  136. ),
  137. 4 => array(
  138. 'AnsiChar', 'AnsiString', 'Boolean', 'Byte', 'Cardinal', 'Char', 'Comp', 'Currency', 'Double', 'Extended',
  139. 'Int64', 'Integer', 'LongInt', 'LongWord', 'PAnsiChar', 'PAnsiString', 'PChar', 'PCurrency', 'PDateTime',
  140. 'PExtended', 'PInt64', 'Pointer', 'PShortString', 'PString', 'PVariant', 'PWideChar', 'PWideString',
  141. 'Real', 'Real48', 'ShortInt', 'ShortString', 'Single', 'SmallInt', 'String', 'TBits', 'TConvType', 'TDateTime',
  142. 'Text', 'TextFile', 'TFloatFormat', 'TFormatSettings', 'TList', 'TObject', 'TOpenDialog', 'TPoint',
  143. 'TPrintDialog', 'TRect', 'TReplaceFlags', 'TSaveDialog', 'TSearchRec', 'TStringList', 'TSysCharSet',
  144. 'TThreadFunc', 'Variant', 'WideChar', 'WideString', 'Word'
  145. ),
  146. ),
  147. 'SYMBOLS' => array(
  148. '(', ')', '[', ']', '{', '}', '@', '%', '&', '*', '|', '/', '<', '>'
  149. ),
  150. 'CASE_SENSITIVE' => array(
  151. GESHI_COMMENTS => false,
  152. 1 => false,
  153. 2 => false,
  154. 3 => false,
  155. 4 => false,
  156. ),
  157. 'STYLES' => array(
  158. 'KEYWORDS' => array(
  159. 1 => 'color: #000000; font-weight: bold;',/*bold Black*/
  160. 2 => 'color: #000000;font-style: italic;',/*Black*/
  161. 3 => 'color: #0000FF;',/*blue*/
  162. 4 => 'color: #CC0000;'/*red*/
  163. ),
  164. 'COMMENTS' => array(
  165. 1 => 'color: #33FF00; font-style: italic;',
  166. 'MULTI' => 'color: #33FF00; font-style: italic;'
  167. ),
  168. 'ESCAPE_CHAR' => array(
  169. ),
  170. 'BRACKETS' => array(
  171. 0 => 'color: #66cc66;'
  172. ),
  173. 'STRINGS' => array(
  174. 0 => 'color: #ff0000;'
  175. ),
  176. 'NUMBERS' => array(
  177. 0 => 'color: #cc66cc;'
  178. ),
  179. 'METHODS' => array(
  180. 1 => 'color: #006600;'
  181. ),
  182. 'REGEXPS' => array(
  183. ),
  184. 'SYMBOLS' => array(
  185. 0 => 'color: #000000; font-weight: bold;',
  186. ),
  187. 'SCRIPT' => array(
  188. )
  189. ),
  190. 'URLS' => array(
  191. 1 => '',
  192. 2 => '',
  193. 3 => '',
  194. 4 => ''
  195. ),
  196. 'OOLANG' => true,
  197. 'OBJECT_SPLITTERS' => array(
  198. 1 => '.'
  199. ),
  200. 'REGEXPS' => array(
  201. ),
  202. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  203. 'SCRIPT_DELIMITERS' => array(
  204. ),
  205. 'HIGHLIGHT_STRICT_BLOCK' => array(
  206. )
  207. );
  208. ?>