openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

inno.php (11811B)


      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.7.20
      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 
     40 $language_data = array (
     41 	'LANG_NAME' => 'Inno',
     42 	'COMMENT_SINGLE' => array(1 => '//'),
     43 	'COMMENT_MULTI' => array('(*' => '*)'),
     44 	'CASE_KEYWORDS' => 0,
     45 	'QUOTEMARKS' => array("'", '"'),
     46 	'ESCAPE_CHAR' => '',
     47 	'KEYWORDS' => array(
     48 		1 => array('Setup','Types','Components','Tasks','Dirs','Files','Icons','INI','InstallDelete','Languages','Messages',
     49 					'CustomMessage','LangOptions','Registry','RUN','UninstallDelete','UninstallRun'
     50 					,'app','win','sys','syswow64','src','sd','pf','pf32','pf64','cf','cf32','cf64','tmp','fonts','dao',
     51 					'group','localappdata','sendto','userappdata','commonappdata','userdesktop','commondesktop','userdocs',
     52 					'commondocs','userfavorites','commonfavorites','userprograms','commonprograms','userstartmenu',
     53 					'commonstartmenu','userstartup','commonstartup','usertemplates','commontemplates'
     54 			),
     55 		2 => array(
     56 			'nil', 'false', 'true', 'var', 'type', 'const','And', 'Array', 'As', 'Begin', 'Case', 'Class', 'Constructor', 'Destructor', 'Div', 'Do', 'DownTo', 'Else',
     57 			'End', 'Except', 'File', 'Finally', 'For', 'Function', 'Goto', 'If', 'Implementation', 'In', 'Inherited', 'Interface',
     58 			'Is', 'Mod', 'Not', 'Object', 'Of', 'On', 'Or', 'Packed', 'Procedure', 'Property', 'Raise', 'Record',
     59 			'Repeat', 'Set', 'Shl', 'Shr', 'Then', 'ThreadVar', 'To', 'Try', 'Unit', 'Until', 'Uses', 'While', 'With', 'Xor',
     60 			
     61 			'HKCC','HKCR','HKCU','HKLM','HKU','alwaysoverwrite','alwaysskipifsameorolder','append',
     62 			'binary','classic','closeonexit','comparetimestamp','confirmoverwrite',
     63 			'createkeyifdoesntexist','createonlyiffileexists','createvalueifdoesntexist',
     64 			'deleteafterinstall','deletekey','deletevalue','dirifempty','dontcloseonexit',
     65 			'dontcopy','dontcreatekey','disablenouninstallwarning','dword','exclusive','expandsz',
     66 			'external','files','filesandordirs','fixed','fontisnttruetype','ignoreversion','iscustom','isreadme',
     67 			'modern','multisz','new','noerror','none','normal','nowait','onlyifdestfileexists',
     68 			'onlyifdoesntexist','onlyifnewer','overwrite','overwritereadonly','postinstall',
     69 			'preservestringtype','promptifolder','regserver','regtypelib','restart','restartreplace',
     70 			'runhidden','runmaximized','runminimized','sharedfile','shellexec','showcheckbox',
     71 			'skipifnotsilent','skipifsilent','silent','skipifdoesntexist',
     72 			'skipifsourcedoesntexist','sortfilesbyextension','unchecked','uninsalwaysuninstall',
     73 			'uninsclearvalue','uninsdeleteentry','uninsdeletekey','uninsdeletekeyifempty',
     74 			'uninsdeletesection','uninsdeletesectionifempty','uninsdeletevalue',
     75 			'uninsneveruninstall','useapppaths','verysilent','waituntilidle'
     76 
     77 			
     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 			
    107 			'AdminPrivilegesRequired','AfterInstall','AllowCancelDuringInstall','AllowNoIcons','AllowRootDirectory','AllowUNCPath','AlwaysRestart','AlwaysShowComponentsList','AlwaysShowDirOnReadyPage','AlwaysShowGroupOnReadyPage ','AlwaysUsePersonalGroup','AppComments','AppContact','AppCopyright','AppendDefaultDirName',
    108 			'AppendDefaultGroupName','AppId','AppModifyPath','AppMutex','AppName','AppPublisher',
    109 			'AppPublisherURL','AppReadmeFile','AppSupportURL','AppUpdatesURL','AppVerName','AppVersion',
    110 			'Attribs','BackColor','BackColor2','BackColorDirection','BackSolid','BeforeInstall',
    111 			'ChangesAssociations','ChangesEnvironment','Check','CodeFile','Comment','Components','Compression','CopyMode',
    112 			'CreateAppDir','CreateUninstallRegKey','DefaultDirName','DefaultGroupName',
    113 			'DefaultUserInfoName','DefaultUserInfoOrg','DefaultUserInfoSerial',
    114 			'Description','DestDir','DestName','DirExistsWarning',
    115 			'DisableDirPage','DisableFinishedPage',
    116 			'DisableProgramGroupPage','DisableReadyMemo','DisableReadyPage',
    117 			'DisableStartupPrompt','DiskClusterSize','DiskSliceSize','DiskSpaceMBLabel',
    118 			'DiskSpanning','DontMergeDuplicateFiles','EnableDirDoesntExistWarning','Encryption',
    119 			'Excludes','ExtraDiskSpaceRequired','Filename','Flags','FlatComponentsList','FontInstall',
    120 			'GroupDescription','HotKey','IconFilename','IconIndex','InfoAfterFile','InfoBeforeFile',
    121 			'InternalCompressLevel','Key','LanguageDetectionMethod','Languages',
    122 			'LicenseFile','MergeDuplicateFiles','MessagesFile','MinVersion','Name',
    123 			'OnlyBelowVersion','OutputBaseFilename','OutputManifestFile','OutputDir',
    124 			'Parameters','Password','Permissions','PrivilegesRequired','ReserveBytes',
    125 			'RestartIfNeededByRun','Root','RunOnceId','Section','SetupIconFile',
    126 			'ShowComponentSizes','ShowLanguageDialog','ShowTasksTreeLines','SlicesPerDisk',
    127 			'SolidCompression','Source','SourceDir','StatusMsg','Subkey','Tasks',
    128 			'TimeStampRounding','TimeStampsInUTC','TouchDate','TouchTime','Type','Types',
    129 			'UninstallDisplayIcon','UninstallDisplayName','UninstallFilesDir','UninstallIconFile',
    130 			'UninstallLogMode','UninstallRestartComputer','UninstallStyle','Uninstallable',
    131 			'UpdateUninstallLogAppName','UsePreviousAppDir','UsePreviousGroup',
    132 			'UsePreviousTasks','UsePreviousSetupType','UsePreviousUserInfo',
    133 			'UserInfoPage','UseSetupLdr','ValueData','ValueName','ValueType',
    134 			'VersionInfoVersion','VersionInfoCompany','VersionInfoDescription','VersionInfoTextVersion',
    135 			'WindowResizable','WindowShowCaption','WindowStartMaximized',
    136 			'WindowVisible','WizardImageBackColor','WizardImageFile','WizardImageStretch','WizardSmallImageBackColor','WizardSmallImageFile','WizardStyle','WorkingDir'
    137 
    138 			
    139 			),
    140 		4 => array(
    141 			'AnsiChar', 'AnsiString', 'Boolean', 'Byte', 'Cardinal', 'Char', 'Comp', 'Currency', 'Double', 'Extended',
    142 			'Int64', 'Integer', 'LongInt', 'LongWord', 'PAnsiChar', 'PAnsiString', 'PChar', 'PCurrency', 'PDateTime',
    143 			'PExtended', 'PInt64', 'Pointer', 'PShortString', 'PString', 'PVariant', 'PWideChar', 'PWideString',
    144 			'Real', 'Real48', 'ShortInt', 'ShortString', 'Single', 'SmallInt', 'String', 'TBits', 'TConvType', 'TDateTime',
    145 			'Text', 'TextFile', 'TFloatFormat', 'TFormatSettings', 'TList', 'TObject', 'TOpenDialog', 'TPoint',
    146 			'TPrintDialog', 'TRect', 'TReplaceFlags', 'TSaveDialog', 'TSearchRec', 'TStringList', 'TSysCharSet',
    147 			'TThreadFunc', 'Variant', 'WideChar', 'WideString', 'Word'
    148 			),
    149 		),
    150 	'SYMBOLS' => array(
    151 		'(', ')', '[', ']', '{', '}', '@', '%', '&', '*', '|', '/', '<', '>'
    152 		),	
    153 		
    154 	'CASE_SENSITIVE' => array(
    155 		GESHI_COMMENTS => true,
    156 		1 => false,
    157 		2 => false,
    158 		3 => false,
    159 		4 => false,
    160 		),
    161 	'STYLES' => array(
    162 		'KEYWORDS' => array(
    163 			1 => 'color: #000000; font-weight: bold;',/*bold Black*/
    164 			2 => 'color: #000000;font-style: italic;',/*Black*/
    165 			3 => 'color: #0000FF;',/*blue*/
    166 			4 => 'color: #CC0000;'/*red*/
    167 			),
    168 		'COMMENTS' => array(
    169 			1 => 'color: #33FF00; font-style: italic;',
    170 			'MULTI' => 'color: #33FF00; font-style: italic;'
    171 			),
    172 		'ESCAPE_CHAR' => array(
    173 			),
    174 		'BRACKETS' => array(
    175 			0 => 'color: #66cc66;'
    176 			),
    177 		'STRINGS' => array(
    178 			0 => 'color: #ff0000;'
    179 			),
    180 		'NUMBERS' => array(
    181 			0 => 'color: #cc66cc;'
    182 			),
    183 		'METHODS' => array(
    184 			1 => 'color: #006600;'
    185 			),
    186 		'REGEXPS' => array(
    187 			),
    188 		'SYMBOLS' => array(
    189 			0 => 'color:  #000000; font-weight: bold;',
    190 			),
    191 		'SCRIPT' => array(
    192 			)
    193 		),
    194 	'URLS' => array(
    195 		1 => '',
    196 		2 => '',
    197 		3 => '',
    198 		4 => ''
    199 		),
    200 	'OOLANG' => true,
    201 	'OBJECT_SPLITTERS' => array(
    202 		1 => '.'
    203 		),
    204 	'REGEXPS' => array(
    205 		),
    206 	'STRICT_MODE_APPLIES' => GESHI_NEVER,
    207 	'SCRIPT_DELIMITERS' => array(
    208 		),
    209 	'HIGHLIGHT_STRICT_BLOCK' => array(
    210 		)
    211 );
    212 
    213 ?>