inno.php

gehe zur Dokumentation dieser Datei
00001 <?php
00002 /*************************************************************************************
00003  * Inno.php
00004  * ----------
00005  * Author: Thomas Klingler (hotline@theratech.de) based on delphi.php from Járja Norbert (jnorbi@vipmail.hu)
00006  * Copyright: (c) 2004 Járja Norbert, Nigel McNie (http://qbnz.com/highlighter)
00007  * Release Version: 1.0.7.20
00008  * Date Started: 2005/07/29
00009  *
00010  * Inno Script language inkl. Delphi (Object Pascal) language file for GeSHi.
00011  *
00012  * CHANGES
00013  * -------
00014  * 2005/09/03
00015  *   -  First Release
00016  *
00017  * TODO (updated 2005/07/27)
00018  * -------------------------
00019  *
00020  *************************************************************************************
00021  *
00022  *   This file is part of GeSHi.
00023  *
00024  *   GeSHi is free software; you can redistribute it and/or modify
00025  *   it under the terms of the GNU General Public License as published by
00026  *   the Free Software Foundation; either version 2 of the License, or
00027  *   (at your option) any later version.
00028  *
00029  *   GeSHi is distributed in the hope that it will be useful,
00030  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00031  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00032  *   GNU General Public License for more details.
00033  *
00034  *   You should have received a copy of the GNU General Public License
00035  *   along with GeSHi; if not, write to the Free Software
00036  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00037  *
00038  ************************************************************************************/
00039 
00040 $language_data = array (
00041      'LANG_NAME' => 'Inno',
00042      'COMMENT_SINGLE' => array(1 => '//'),
00043      'COMMENT_MULTI' => array('(*' => '*)'),
00044      'CASE_KEYWORDS' => 0,
00045      'QUOTEMARKS' => array("'", '"'),
00046      'ESCAPE_CHAR' => '',
00047      'KEYWORDS' => array(
00048           1 => array('Setup','Types','Components','Tasks','Dirs','Files','Icons','INI','InstallDelete','Languages','Messages',
00049                          'CustomMessage','LangOptions','Registry','RUN','UninstallDelete','UninstallRun'
00050                          ,'app','win','sys','syswow64','src','sd','pf','pf32','pf64','cf','cf32','cf64','tmp','fonts','dao',
00051                          'group','localappdata','sendto','userappdata','commonappdata','userdesktop','commondesktop','userdocs',
00052                          'commondocs','userfavorites','commonfavorites','userprograms','commonprograms','userstartmenu',
00053                          'commonstartmenu','userstartup','commonstartup','usertemplates','commontemplates'
00054                ),
00055           2 => array(
00056                'nil', 'false', 'true', 'var', 'type', 'const','And', 'Array', 'As', 'Begin', 'Case', 'Class', 'Constructor', 'Destructor', 'Div', 'Do', 'DownTo', 'Else',
00057                'End', 'Except', 'File', 'Finally', 'For', 'Function', 'Goto', 'If', 'Implementation', 'In', 'Inherited', 'Interface',
00058                'Is', 'Mod', 'Not', 'Object', 'Of', 'On', 'Or', 'Packed', 'Procedure', 'Property', 'Raise', 'Record',
00059                'Repeat', 'Set', 'Shl', 'Shr', 'Then', 'ThreadVar', 'To', 'Try', 'Unit', 'Until', 'Uses', 'While', 'With', 'Xor',
00060                
00061                'HKCC','HKCR','HKCU','HKLM','HKU','alwaysoverwrite','alwaysskipifsameorolder','append',
00062                'binary','classic','closeonexit','comparetimestamp','confirmoverwrite',
00063                'createkeyifdoesntexist','createonlyiffileexists','createvalueifdoesntexist',
00064                'deleteafterinstall','deletekey','deletevalue','dirifempty','dontcloseonexit',
00065                'dontcopy','dontcreatekey','disablenouninstallwarning','dword','exclusive','expandsz',
00066                'external','files','filesandordirs','fixed','fontisnttruetype','ignoreversion','iscustom','isreadme',
00067                'modern','multisz','new','noerror','none','normal','nowait','onlyifdestfileexists',
00068                'onlyifdoesntexist','onlyifnewer','overwrite','overwritereadonly','postinstall',
00069                'preservestringtype','promptifolder','regserver','regtypelib','restart','restartreplace',
00070                'runhidden','runmaximized','runminimized','sharedfile','shellexec','showcheckbox',
00071                'skipifnotsilent','skipifsilent','silent','skipifdoesntexist',
00072                'skipifsourcedoesntexist','sortfilesbyextension','unchecked','uninsalwaysuninstall',
00073                'uninsclearvalue','uninsdeleteentry','uninsdeletekey','uninsdeletekeyifempty',
00074                'uninsdeletesection','uninsdeletesectionifempty','uninsdeletevalue',
00075                'uninsneveruninstall','useapppaths','verysilent','waituntilidle'
00076 
00077                
00078                ),
00079           3 => array(
00080                'Abs', 'Addr', 'AnsiCompareStr', 'AnsiCompareText', 'AnsiContainsStr', 'AnsiEndsStr', 'AnsiIndexStr', 'AnsiLeftStr',
00081                'AnsiLowerCase', 'AnsiMatchStr', 'AnsiMidStr', 'AnsiPos', 'AnsiReplaceStr', 'AnsiReverseString', 'AnsiRightStr',
00082                'AnsiStartsStr', 'AnsiUpperCase', 'ArcCos', 'ArcSin', 'ArcTan', 'Assigned', 'BeginThread', 'Bounds', 'CelsiusToFahrenheit',
00083                'ChangeFileExt', 'Chr', 'CompareStr', 'CompareText', 'Concat', 'Convert', 'Copy', 'Cos', 'CreateDir', 'CurrToStr',
00084                'CurrToStrF', 'Date', 'DateTimeToFileDate', 'DateTimeToStr', 'DateToStr', 'DayOfTheMonth', 'DayOfTheWeek', 'DayOfTheYear',
00085                'DayOfWeek', 'DaysBetween', 'DaysInAMonth', 'DaysInAYear', 'DaySpan', 'DegToRad', 'DeleteFile', 'DiskFree', 'DiskSize',
00086                'DupeString', 'EncodeDate', 'EncodeDateTime', 'EncodeTime', 'EndOfADay', 'EndOfAMonth', 'Eof', 'Eoln', 'Exp', 'ExtractFileDir',
00087                'ExtractFileDrive', 'ExtractFileExt', 'ExtractFileName', 'ExtractFilePath', 'FahrenheitToCelsius', 'FileAge',
00088                'FileDateToDateTime', 'FileExists', 'FilePos', 'FileSearch', 'FileSetDate', 'FileSize', 'FindClose', 'FindCmdLineSwitch',
00089                'FindFirst', 'FindNext', 'FloatToStr', 'FloatToStrF', 'Format', 'FormatCurr', 'FormatDateTime', 'FormatFloat', 'Frac',
00090                'GetCurrentDir', 'GetLastError', 'GetMem', 'High', 'IncDay', 'IncMinute', 'IncMonth', 'IncYear', 'InputBox',
00091                'InputQuery', 'Int', 'IntToHex', 'IntToStr', 'IOResult', 'IsInfinite', 'IsLeapYear', 'IsMultiThread', 'IsNaN',
00092                'LastDelimiter', 'Length', 'Ln', 'Lo', 'Log10', 'Low', 'LowerCase', 'Max', 'Mean', 'MessageDlg', 'MessageDlgPos',
00093                'MonthOfTheYear', 'Now', 'Odd', 'Ord', 'ParamCount', 'ParamStr', 'Pi', 'Point', 'PointsEqual', 'Pos', 'Pred',
00094                'Printer', 'PromptForFileName', 'PtInRect', 'RadToDeg', 'Random', 'RandomRange', 'RecodeDate', 'RecodeTime', 'Rect',
00095                'RemoveDir', 'RenameFile', 'Round', 'SeekEof', 'SeekEoln', 'SelectDirectory', 'SetCurrentDir', 'Sin', 'SizeOf',
00096                'Slice', 'Sqr', 'Sqrt', 'StringOfChar', 'StringReplace', 'StringToWideChar', 'StrToCurr', 'StrToDate', 'StrToDateTime',
00097                'StrToFloat', 'StrToInt', 'StrToInt64', 'StrToInt64Def', 'StrToIntDef', 'StrToTime', 'StuffString', 'Succ', 'Sum', 'Tan',
00098                'Time', 'TimeToStr', 'Tomorrow', 'Trunc', 'UpCase', 'UpperCase', 'VarType', 'WideCharToString', 'WrapText', 'Yesterday',
00099                'Append', 'AppendStr', 'Assign', 'AssignFile', 'AssignPrn', 'Beep', 'BlockRead', 'BlockWrite', 'Break',
00100                'ChDir', 'Close', 'CloseFile', 'Continue', 'DateTimeToString', 'Dec', 'DecodeDate', 'DecodeDateTime',
00101                'DecodeTime', 'Delete', 'Dispose', 'EndThread', 'Erase', 'Exclude', 'Exit', 'FillChar', 'Flush', 'FreeAndNil',
00102                'FreeMem', 'GetDir', 'GetLocaleFormatSettings', 'Halt', 'Inc', 'Include', 'Insert', 'MkDir', 'Move', 'New',
00103                'ProcessPath', 'Randomize', 'Read', 'ReadLn', 'ReallocMem', 'Rename', 'ReplaceDate', 'ReplaceTime',
00104                'Reset', 'ReWrite', 'RmDir', 'RunError', 'Seek', 'SetLength', 'SetString', 'ShowMessage', 'ShowMessageFmt',
00105                'ShowMessagePos', 'Str', 'Truncate', 'Val', 'Write', 'WriteLn',
00106                
00107                'AdminPrivilegesRequired','AfterInstall','AllowCancelDuringInstall','AllowNoIcons','AllowRootDirectory','AllowUNCPath','AlwaysRestart','AlwaysShowComponentsList','AlwaysShowDirOnReadyPage','AlwaysShowGroupOnReadyPage ','AlwaysUsePersonalGroup','AppComments','AppContact','AppCopyright','AppendDefaultDirName',
00108                'AppendDefaultGroupName','AppId','AppModifyPath','AppMutex','AppName','AppPublisher',
00109                'AppPublisherURL','AppReadmeFile','AppSupportURL','AppUpdatesURL','AppVerName','AppVersion',
00110                'Attribs','BackColor','BackColor2','BackColorDirection','BackSolid','BeforeInstall',
00111                'ChangesAssociations','ChangesEnvironment','Check','CodeFile','Comment','Components','Compression','CopyMode',
00112                'CreateAppDir','CreateUninstallRegKey','DefaultDirName','DefaultGroupName',
00113                'DefaultUserInfoName','DefaultUserInfoOrg','DefaultUserInfoSerial',
00114                'Description','DestDir','DestName','DirExistsWarning',
00115                'DisableDirPage','DisableFinishedPage',
00116                'DisableProgramGroupPage','DisableReadyMemo','DisableReadyPage',
00117                'DisableStartupPrompt','DiskClusterSize','DiskSliceSize','DiskSpaceMBLabel',
00118                'DiskSpanning','DontMergeDuplicateFiles','EnableDirDoesntExistWarning','Encryption',
00119                'Excludes','ExtraDiskSpaceRequired','Filename','Flags','FlatComponentsList','FontInstall',
00120                'GroupDescription','HotKey','IconFilename','IconIndex','InfoAfterFile','InfoBeforeFile',
00121                'InternalCompressLevel','Key','LanguageDetectionMethod','Languages',
00122                'LicenseFile','MergeDuplicateFiles','MessagesFile','MinVersion','Name',
00123                'OnlyBelowVersion','OutputBaseFilename','OutputManifestFile','OutputDir',
00124                'Parameters','Password','Permissions','PrivilegesRequired','ReserveBytes',
00125                'RestartIfNeededByRun','Root','RunOnceId','Section','SetupIconFile',
00126                'ShowComponentSizes','ShowLanguageDialog','ShowTasksTreeLines','SlicesPerDisk',
00127                'SolidCompression','Source','SourceDir','StatusMsg','Subkey','Tasks',
00128                'TimeStampRounding','TimeStampsInUTC','TouchDate','TouchTime','Type','Types',
00129                'UninstallDisplayIcon','UninstallDisplayName','UninstallFilesDir','UninstallIconFile',
00130                'UninstallLogMode','UninstallRestartComputer','UninstallStyle','Uninstallable',
00131                'UpdateUninstallLogAppName','UsePreviousAppDir','UsePreviousGroup',
00132                'UsePreviousTasks','UsePreviousSetupType','UsePreviousUserInfo',
00133                'UserInfoPage','UseSetupLdr','ValueData','ValueName','ValueType',
00134                'VersionInfoVersion','VersionInfoCompany','VersionInfoDescription','VersionInfoTextVersion',
00135                'WindowResizable','WindowShowCaption','WindowStartMaximized',
00136                'WindowVisible','WizardImageBackColor','WizardImageFile','WizardImageStretch','WizardSmallImageBackColor','WizardSmallImageFile','WizardStyle','WorkingDir'
00137 
00138                
00139                ),
00140           4 => array(
00141                'AnsiChar', 'AnsiString', 'Boolean', 'Byte', 'Cardinal', 'Char', 'Comp', 'Currency', 'Double', 'Extended',
00142                'Int64', 'Integer', 'LongInt', 'LongWord', 'PAnsiChar', 'PAnsiString', 'PChar', 'PCurrency', 'PDateTime',
00143                'PExtended', 'PInt64', 'Pointer', 'PShortString', 'PString', 'PVariant', 'PWideChar', 'PWideString',
00144                'Real', 'Real48', 'ShortInt', 'ShortString', 'Single', 'SmallInt', 'String', 'TBits', 'TConvType', 'TDateTime',
00145                'Text', 'TextFile', 'TFloatFormat', 'TFormatSettings', 'TList', 'TObject', 'TOpenDialog', 'TPoint',
00146                'TPrintDialog', 'TRect', 'TReplaceFlags', 'TSaveDialog', 'TSearchRec', 'TStringList', 'TSysCharSet',
00147                'TThreadFunc', 'Variant', 'WideChar', 'WideString', 'Word'
00148                ),
00149           ),
00150      'SYMBOLS' => array(
00151           '(', ')', '[', ']', '{', '}', '@', '%', '&', '*', '|', '/', '<', '>'
00152           ),   
00153           
00154      'CASE_SENSITIVE' => array(
00155           GESHI_COMMENTS => true,
00156           1 => false,
00157           2 => false,
00158           3 => false,
00159           4 => false,
00160           ),
00161      'STYLES' => array(
00162           'KEYWORDS' => array(
00163                1 => 'color: #000000; font-weight: bold;',/*bold Black*/
00164                2 => 'color: #000000;font-style: italic;',/*Black*/
00165                3 => 'color: #0000FF;',/*blue*/
00166                4 => 'color: #CC0000;'/*red*/
00167                ),
00168           'COMMENTS' => array(
00169                1 => 'color: #33FF00; font-style: italic;',
00170                'MULTI' => 'color: #33FF00; font-style: italic;'
00171                ),
00172           'ESCAPE_CHAR' => array(
00173                ),
00174           'BRACKETS' => array(
00175                0 => 'color: #66cc66;'
00176                ),
00177           'STRINGS' => array(
00178                0 => 'color: #ff0000;'
00179                ),
00180           'NUMBERS' => array(
00181                0 => 'color: #cc66cc;'
00182                ),
00183           'METHODS' => array(
00184                1 => 'color: #006600;'
00185                ),
00186           'REGEXPS' => array(
00187                ),
00188           'SYMBOLS' => array(
00189                0 => 'color:  #000000; font-weight: bold;',
00190                ),
00191           'SCRIPT' => array(
00192                )
00193           ),
00194      'URLS' => array(
00195           1 => '',
00196           2 => '',
00197           3 => '',
00198           4 => ''
00199           ),
00200      'OOLANG' => true,
00201      'OBJECT_SPLITTERS' => array(
00202           1 => '.'
00203           ),
00204      'REGEXPS' => array(
00205           ),
00206      'STRICT_MODE_APPLIES' => GESHI_NEVER,
00207      'SCRIPT_DELIMITERS' => array(
00208           ),
00209      'HIGHLIGHT_STRICT_BLOCK' => array(
00210           )
00211 );
00212 
00213 ?>

Erzeugt am Thu May 14 00:55:48 2009 fĂźr OpenRat von  doxygen 1.5.8