[ Index ]
 

Code source de DokuWiki 2006-11-06

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/inc/geshi/ -> inno.php (source)

   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.15
   8   * CVS Revision Version: $Revision: 1.12.2.4 $

   9   * Date Started: 2005/07/29

  10   * Last Modified: $Date: 2006/09/23 02:05:47 $

  11   *

  12   * Inno Script language inkl. Delphi (Object Pascal) language file for GeSHi.

  13   *

  14   * CHANGES

  15   * -------

  16   * 2005/09/03

  17   *   -  First Release

  18   *

  19   * TODO (updated 2005/07/27)

  20   * -------------------------

  21   *

  22   *************************************************************************************

  23   *

  24   *   This file is part of GeSHi.

  25   *

  26   *   GeSHi is free software; you can redistribute it and/or modify

  27   *   it under the terms of the GNU General Public License as published by

  28   *   the Free Software Foundation; either version 2 of the License, or

  29   *   (at your option) any later version.

  30   *

  31   *   GeSHi is distributed in the hope that it will be useful,

  32   *   but WITHOUT ANY WARRANTY; without even the implied warranty of

  33   *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

  34   *   GNU General Public License for more details.

  35   *

  36   *   You should have received a copy of the GNU General Public License

  37   *   along with GeSHi; if not, write to the Free Software

  38   *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

  39   *

  40   ************************************************************************************/
  41  
  42  $language_data = array (
  43      'LANG_NAME' => 'Inno',
  44      'COMMENT_SINGLE' => array(1 => '//'),
  45      'COMMENT_MULTI' => array('(*' => '*)'),
  46      'CASE_KEYWORDS' => 0,
  47      'QUOTEMARKS' => array("'", '"'),
  48      'ESCAPE_CHAR' => '',
  49      'KEYWORDS' => array(
  50          1 => array('Setup','Types','Components','Tasks','Dirs','Files','Icons','INI','InstallDelete','Languages','Messages',
  51                      'CustomMessage','LangOptions','Registry','RUN','UninstallDelete','UninstallRun'
  52                      ,'app','win','sys','syswow64','src','sd','pf','pf32','pf64','cf','cf32','cf64','tmp','fonts','dao',
  53                      'group','localappdata','sendto','userappdata','commonappdata','userdesktop','commondesktop','userdocs',
  54                      'commondocs','userfavorites','commonfavorites','userprograms','commonprograms','userstartmenu',
  55                      'commonstartmenu','userstartup','commonstartup','usertemplates','commontemplates'
  56              ),
  57          2 => array(
  58              'nil', 'false', 'true', 'var', 'type', 'const','And', 'Array', 'As', 'Begin', 'Case', 'Class', 'Constructor', 'Destructor', 'Div', 'Do', 'DownTo', 'Else',
  59              'End', 'Except', 'File', 'Finally', 'For', 'Function', 'Goto', 'If', 'Implementation', 'In', 'Inherited', 'Interface',
  60              'Is', 'Mod', 'Not', 'Object', 'Of', 'On', 'Or', 'Packed', 'Procedure', 'Property', 'Raise', 'Record',
  61              'Repeat', 'Set', 'Shl', 'Shr', 'Then', 'ThreadVar', 'To', 'Try', 'Unit', 'Until', 'Uses', 'While', 'With', 'Xor',
  62              
  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              
  80              ),
  81          3 => array(
  82              'Abs', 'Addr', 'AnsiCompareStr', 'AnsiCompareText', 'AnsiContainsStr', 'AnsiEndsStr', 'AnsiIndexStr', 'AnsiLeftStr',
  83              'AnsiLowerCase', 'AnsiMatchStr', 'AnsiMidStr', 'AnsiPos', 'AnsiReplaceStr', 'AnsiReverseString', 'AnsiRightStr',
  84              'AnsiStartsStr', 'AnsiUpperCase', 'ArcCos', 'ArcSin', 'ArcTan', 'Assigned', 'BeginThread', 'Bounds', 'CelsiusToFahrenheit',
  85              'ChangeFileExt', 'Chr', 'CompareStr', 'CompareText', 'Concat', 'Convert', 'Copy', 'Cos', 'CreateDir', 'CurrToStr',
  86              'CurrToStrF', 'Date', 'DateTimeToFileDate', 'DateTimeToStr', 'DateToStr', 'DayOfTheMonth', 'DayOfTheWeek', 'DayOfTheYear',
  87              'DayOfWeek', 'DaysBetween', 'DaysInAMonth', 'DaysInAYear', 'DaySpan', 'DegToRad', 'DeleteFile', 'DiskFree', 'DiskSize',
  88              'DupeString', 'EncodeDate', 'EncodeDateTime', 'EncodeTime', 'EndOfADay', 'EndOfAMonth', 'Eof', 'Eoln', 'Exp', 'ExtractFileDir',
  89              'ExtractFileDrive', 'ExtractFileExt', 'ExtractFileName', 'ExtractFilePath', 'FahrenheitToCelsius', 'FileAge',
  90              'FileDateToDateTime', 'FileExists', 'FilePos', 'FileSearch', 'FileSetDate', 'FileSize', 'FindClose', 'FindCmdLineSwitch',
  91              'FindFirst', 'FindNext', 'FloatToStr', 'FloatToStrF', 'Format', 'FormatCurr', 'FormatDateTime', 'FormatFloat', 'Frac',
  92              'GetCurrentDir', 'GetLastError', 'GetMem', 'High', 'IncDay', 'IncMinute', 'IncMonth', 'IncYear', 'InputBox',
  93              'InputQuery', 'Int', 'IntToHex', 'IntToStr', 'IOResult', 'IsInfinite', 'IsLeapYear', 'IsMultiThread', 'IsNaN',
  94              'LastDelimiter', 'Length', 'Ln', 'Lo', 'Log10', 'Low', 'LowerCase', 'Max', 'Mean', 'MessageDlg', 'MessageDlgPos',
  95              'MonthOfTheYear', 'Now', 'Odd', 'Ord', 'ParamCount', 'ParamStr', 'Pi', 'Point', 'PointsEqual', 'Pos', 'Pred',
  96              'Printer', 'PromptForFileName', 'PtInRect', 'RadToDeg', 'Random', 'RandomRange', 'RecodeDate', 'RecodeTime', 'Rect',
  97              'RemoveDir', 'RenameFile', 'Round', 'SeekEof', 'SeekEoln', 'SelectDirectory', 'SetCurrentDir', 'Sin', 'SizeOf',
  98              'Slice', 'Sqr', 'Sqrt', 'StringOfChar', 'StringReplace', 'StringToWideChar', 'StrToCurr', 'StrToDate', 'StrToDateTime',
  99              'StrToFloat', 'StrToInt', 'StrToInt64', 'StrToInt64Def', 'StrToIntDef', 'StrToTime', 'StuffString', 'Succ', 'Sum', 'Tan',
 100              'Time', 'TimeToStr', 'Tomorrow', 'Trunc', 'UpCase', 'UpperCase', 'VarType', 'WideCharToString', 'WrapText', 'Yesterday',
 101              'Append', 'AppendStr', 'Assign', 'AssignFile', 'AssignPrn', 'Beep', 'BlockRead', 'BlockWrite', 'Break',
 102              'ChDir', 'Close', 'CloseFile', 'Continue', 'DateTimeToString', 'Dec', 'DecodeDate', 'DecodeDateTime',
 103              'DecodeTime', 'Delete', 'Dispose', 'EndThread', 'Erase', 'Exclude', 'Exit', 'FillChar', 'Flush', 'FreeAndNil',
 104              'FreeMem', 'GetDir', 'GetLocaleFormatSettings', 'Halt', 'Inc', 'Include', 'Insert', 'MkDir', 'Move', 'New',
 105              'ProcessPath', 'Randomize', 'Read', 'ReadLn', 'ReallocMem', 'Rename', 'ReplaceDate', 'ReplaceTime',
 106              'Reset', 'ReWrite', 'RmDir', 'RunError', 'Seek', 'SetLength', 'SetString', 'ShowMessage', 'ShowMessageFmt',
 107              'ShowMessagePos', 'Str', 'Truncate', 'Val', 'Write', 'WriteLn',
 108              
 109              'AdminPrivilegesRequired','AfterInstall','AllowCancelDuringInstall','AllowNoIcons','AllowRootDirectory','AllowUNCPath','AlwaysRestart','AlwaysShowComponentsList','AlwaysShowDirOnReadyPage','AlwaysShowGroupOnReadyPage ','AlwaysUsePersonalGroup','AppComments','AppContact','AppCopyright','AppendDefaultDirName',
 110              'AppendDefaultGroupName','AppId','AppModifyPath','AppMutex','AppName','AppPublisher',
 111              'AppPublisherURL','AppReadmeFile','AppSupportURL','AppUpdatesURL','AppVerName','AppVersion',
 112              'Attribs','BackColor','BackColor2','BackColorDirection','BackSolid','BeforeInstall',
 113              'ChangesAssociations','ChangesEnvironment','Check','CodeFile','Comment','Components','Compression','CopyMode',
 114              'CreateAppDir','CreateUninstallRegKey','DefaultDirName','DefaultGroupName',
 115              'DefaultUserInfoName','DefaultUserInfoOrg','DefaultUserInfoSerial',
 116              'Description','DestDir','DestName','DirExistsWarning',
 117              'DisableDirPage','DisableFinishedPage',
 118              'DisableProgramGroupPage','DisableReadyMemo','DisableReadyPage',
 119              'DisableStartupPrompt','DiskClusterSize','DiskSliceSize','DiskSpaceMBLabel',
 120              'DiskSpanning','DontMergeDuplicateFiles','EnableDirDoesntExistWarning','Encryption',
 121              'Excludes','ExtraDiskSpaceRequired','Filename','Flags','FlatComponentsList','FontInstall',
 122              'GroupDescription','HotKey','IconFilename','IconIndex','InfoAfterFile','InfoBeforeFile',
 123              'InternalCompressLevel','Key','LanguageDetectionMethod','Languages',
 124              'LicenseFile','MergeDuplicateFiles','MessagesFile','MinVersion','Name',
 125              'OnlyBelowVersion','OutputBaseFilename','OutputManifestFile','OutputDir',
 126              'Parameters','Password','Permissions','PrivilegesRequired','ReserveBytes',
 127              'RestartIfNeededByRun','Root','RunOnceId','Section','SetupIconFile',
 128              'ShowComponentSizes','ShowLanguageDialog','ShowTasksTreeLines','SlicesPerDisk',
 129              'SolidCompression','Source','SourceDir','StatusMsg','Subkey','Tasks',
 130              'TimeStampRounding','TimeStampsInUTC','TouchDate','TouchTime','Type','Types',
 131              'UninstallDisplayIcon','UninstallDisplayName','UninstallFilesDir','UninstallIconFile',
 132              'UninstallLogMode','UninstallRestartComputer','UninstallStyle','Uninstallable',
 133              'UpdateUninstallLogAppName','UsePreviousAppDir','UsePreviousGroup',
 134              'UsePreviousTasks','UsePreviousSetupType','UsePreviousUserInfo',
 135              'UserInfoPage','UseSetupLdr','ValueData','ValueName','ValueType',
 136              'VersionInfoVersion','VersionInfoCompany','VersionInfoDescription','VersionInfoTextVersion',
 137              'WindowResizable','WindowShowCaption','WindowStartMaximized',
 138              'WindowVisible','WizardImageBackColor','WizardImageFile','WizardImageStretch','WizardSmallImageBackColor','WizardSmallImageFile','WizardStyle','WorkingDir'
 139  
 140              
 141              ),
 142          4 => array(
 143              'AnsiChar', 'AnsiString', 'Boolean', 'Byte', 'Cardinal', 'Char', 'Comp', 'Currency', 'Double', 'Extended',
 144              'Int64', 'Integer', 'LongInt', 'LongWord', 'PAnsiChar', 'PAnsiString', 'PChar', 'PCurrency', 'PDateTime',
 145              'PExtended', 'PInt64', 'Pointer', 'PShortString', 'PString', 'PVariant', 'PWideChar', 'PWideString',
 146              'Real', 'Real48', 'ShortInt', 'ShortString', 'Single', 'SmallInt', 'String', 'TBits', 'TConvType', 'TDateTime',
 147              'Text', 'TextFile', 'TFloatFormat', 'TFormatSettings', 'TList', 'TObject', 'TOpenDialog', 'TPoint',
 148              'TPrintDialog', 'TRect', 'TReplaceFlags', 'TSaveDialog', 'TSearchRec', 'TStringList', 'TSysCharSet',
 149              'TThreadFunc', 'Variant', 'WideChar', 'WideString', 'Word'
 150              ),
 151          ),
 152      'SYMBOLS' => array(
 153          '(', ')', '[', ']', '{', '}', '@', '%', '&', '*', '|', '/', '<', '>'
 154          ),    
 155          
 156      'CASE_SENSITIVE' => array(
 157          GESHI_COMMENTS => true,
 158          1 => false,
 159          2 => false,
 160          3 => false,
 161          4 => false,
 162          ),
 163      'STYLES' => array(
 164          'KEYWORDS' => array(
 165              1 => 'color: #000000; font-weight: bold;',/*bold Black*/
 166              2 => 'color: #000000;font-style: italic;',/*Black*/
 167              3 => 'color: #0000FF;',/*blue*/
 168              4 => 'color: #CC0000;'/*red*/
 169              ),
 170          'COMMENTS' => array(
 171              1 => 'color: #33FF00; font-style: italic;',
 172              'MULTI' => 'color: #33FF00; font-style: italic;'
 173              ),
 174          'ESCAPE_CHAR' => array(
 175              ),
 176          'BRACKETS' => array(
 177              0 => 'color: #66cc66;'
 178              ),
 179          'STRINGS' => array(
 180              0 => 'color: #ff0000;'
 181              ),
 182          'NUMBERS' => array(
 183              0 => 'color: #cc66cc;'
 184              ),
 185          'METHODS' => array(
 186              1 => 'color: #006600;'
 187              ),
 188          'REGEXPS' => array(
 189              ),
 190          'SYMBOLS' => array(
 191              0 => 'color:  #000000; font-weight: bold;',
 192              ),
 193          'SCRIPT' => array(
 194              )
 195          ),
 196      'URLS' => array(
 197          1 => '',
 198          2 => '',
 199          3 => '',
 200          4 => ''
 201          ),
 202      'OOLANG' => true,
 203      'OBJECT_SPLITTERS' => array(
 204          1 => '.'
 205          ),
 206      'REGEXPS' => array(
 207          ),
 208      'STRICT_MODE_APPLIES' => GESHI_NEVER,
 209      'SCRIPT_DELIMITERS' => array(
 210          ),
 211      'HIGHLIGHT_STRICT_BLOCK' => array(
 212          )
 213  );
 214  
 215  ?>


Généré le : Tue Apr 3 20:47:31 2007 par Balluche grâce ŕ PHPXref 0.7