Source for file nsis.php

Documentation is available at nsis.php


1 <?php
2 /***********************************************************************************
3 * nsis.php
4 * --------
5 * Author: Tux (tux@inmail.cz)
6 * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
7 * Release Version: 1.0.7.1
8 * CVS Revision Version: $Revision: 1.1 $
9 * Date Started: 2004/29/07
10 * Last Modified: $Date: 2005/06/02 04:57:18 $
11 *
12 * NullSoft Installer System language file for GeSHi.
13 * Words are from SciTe configuration file
14 *
15 * CHANGES
16 * -------
17 * 2004/11/27 (1.0.2)
18 * - Added support for multiple object splitters
19 * 2004/10/27 (1.0.1)
20 * - Added support for URLs
21 * 2004/08/05 (1.0.0)
22 * - First Release
23 *
24 * TODO (updated 2004/11/27)
25 * -------------------------
26 *
27 ************************************************************************************
28 *
29 * This file is part of GeSHi.
30 *
31 * GeSHi is free software; you can redistribute it and/or modify
32 * it under the terms of the GNU General Public License as published by
33 * the Free Software Foundation; either version 2 of the License, or
34 * (at your option) any later version.
35 *
36 * GeSHi is distributed in the hope that it will be useful,
37 * but WITHOUT ANY WARRANTY; without even the implied warranty of
38 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39 * GNU General Public License for more details.
40 *
41 * You should have received a copy of the GNU General Public License
42 * along with GeSHi; if not, write to the Free Software
43 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
44 *
45 ************************************************************************************/
45
46
47 $language_data = array (
48 'LANG_NAME' => 'nsis',
49 'COMMENT_SINGLE' => array(1 => ';'),
50 'COMMENT_MULTI' => array(),
51 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
52 'QUOTEMARKS' => array("'",'"'),
53 'ESCAPE_CHAR' => '',
54 'KEYWORDS' => array(
55 1 => array(
56 'What','Abort','AddSize','AllowRootDirInstall','AutoCloseWindow',
57 'BGGradient','BrandingText','BringToFront','CRCCheck','Call','CallInstDLL','Caption','ClearErrors',
58 'CompletedText','ComponentText','CopyFiles','CreateDirectory','CreateShortCut','Delete',
59 'DeleteINISec','DeleteINIStr','DeleteRegKey','DeleteRegValue','DetailPrint','DetailsButtonText',
60 'DirShow','DirText','DisabledBitmap','EnabledBitmap','EnumRegKey','EnumRegValue','Exch','Exec',
61 'ExecShell','ExecWait','ExpandEnvStrings','File','FileClose','FileErrorText','FileOpen','FileRead',
62 'FileReadByte','FileSeek','FileWrite','FileWriteByte','FindClose','FindFirst','FindNext','FindWindow',
63 'Function','FunctionEnd','GetCurrentAddress','GetDLLVersionLocal','GetDllVersion','GetFileTime',
64 'GetFileTimeLocal','GetFullPathName','GetFunctionAddress','GetLabelAddress','GetTempFileName',
65 'Goto','HideWindow','Icon','IfErrors','IfFileExists','IfRebootFlag','InstProgressFlags','InstType',
66 'InstallButtonText','InstallColors','InstallDir','InstallDirRegKey','IntCmp','IntCmpU','IntFmt','IntOp',
67 'IsWindow','LicenseData','LicenseText','MessageBox','MiscButtonText','Name','OutFile','Pop','Push',
68 'Quit','RMDir','ReadEnvStr','ReadINIStr','ReadRegDword','ReadRegStr','Reboot','RegDLL','Rename',
69 'Return','SearchPath','Section','SectionDivider','SectionEnd','SectionIn','SendMessage','SetAutoClose',
70 'SetCompress','SetCompressor','SetDatablockOptimize','SetDateSave','SetDetailsPrint','SetDetailsView','SetErrors',
71 'SetFileAttributes','SetOutPath','SetOverwrite','SetRebootFlag','ShowInstDetails','ShowUninstDetails',
72 'SilentInstall','SilentUnInstall','Sleep','SpaceTexts','StrCmp','StrCpy','StrLen','SubCaption','UnRegDLL',
73 'UninstallButtonText','UninstallCaption','UninstallEXEName','UninstallIcon','UninstallSubCaption',
74 'UninstallText','WindowIcon','WriteINIStr','WriteRegBin','WriteRegDword','WriteRegDWORD','WriteRegExpandStr',
75 'WriteRegStr','WriteUninstaller','SectionGetFlags','SectionSetFlags','SectionSetText','SectionGetText',
76 'LogText','LogSet','CreateFont','SetShellVarContext','SetStaticBkColor','SetBrandingImage','PluginDir',
77 'SubSectionEnd','SubSection','CheckBitmap','ChangeUI','SetFont','AddBrandingImage','XPStyle','Var',
78 'LangString','!define','!undef','!ifdef','!ifndef','!endif','!else','!macro','!echo','!warning','!error','!verbose',
79 '!macroend','!insertmacro','!system','!include','!cd','!packhdr','!addplugindir'
80 ),
81 2 => array(
82 '$0','$1','$2','$3','$4','$5','$6','$7','$8','$9',
83 '$R0','$R1','$R2','$R3','$R4','$R5','$R6','$R7','$R8','$R9','$CMDLINE','$DESKTOP',
84 '$EXEDIR','$HWNDPARENT','$INSTDIR','$OUTDIR','$PROGRAMFILES','${NSISDIR}',
85 '$QUICKLAUNCH','$SMPROGRAMS','$SMSTARTUP','$STARTMENU','$SYSDIR','$TEMP','$WINDIR'
86 ),
87 3 => array(
88 'ARCHIVE','FILE_ATTRIBUTE_ARCHIVE','FILE_ATTRIBUTE_HIDDEN',
89 'FILE_ATTRIBUTE_NORMAL','FILE_ATTRIBUTE_OFFLINE','FILE_ATTRIBUTE_READONLY',
90 'FILE_ATTRIBUTE_SYSTEM','FILE_ATTRIBUTE_TEMPORARY','HIDDEN','HKCC','HKCR','HKCU',
91 'HKDD','HKEY_CLASSES_ROOT','HKEY_CURRENT_CONFIG','HKEY_CURRENT_USER','HKEY_DYN_DATA',
92 'HKEY_LOCAL_MACHINE','HKEY_PERFORMANCE_DATA','HKEY_USERS','HKLM','HKPD','HKU','IDABORT',
93 'IDCANCEL','IDIGNORE','IDNO','IDOK','IDRETRY','IDYES','MB_ABORTRETRYIGNORE','MB_DEFBUTTON1',
94 'MB_DEFBUTTON2','MB_DEFBUTTON3','MB_DEFBUTTON4','MB_ICONEXCLAMATION',
95 'MB_ICONINFORMATION','MB_ICONQUESTION','MB_ICONSTOP','MB_OK','MB_OKCANCEL',
96 'MB_RETRYCANCEL','MB_RIGHT','MB_SETFOREGROUND','MB_TOPMOST','MB_YESNO','MB_YESNOCANCEL',
97 'NORMAL','OFFLINE','READONLY','SW_SHOWMAXIMIZED','SW_SHOWMINIMIZED','SW_SHOWNORMAL',
98 'SYSTEM','TEMPORARY','auto','colored','false','force','hide','ifnewer','nevershow','normal',
99 'off','on','show','silent','silentlog','smooth','true','try'
100 ),
101 4 => array(
102 'MyFunction','MySomethingElse'
103 )
104 ),
105 'SYMBOLS' => array(
106 ),
107 'CASE_SENSITIVE' => array(
108 GESHI_COMMENTS => true,
109 1 => false,
110 2 => false,
111 3 => false,
112 4 => false,
113 ),
114 'STYLES' => array(
115 'KEYWORDS' => array(
116 1 => 'color: #00007f;',
117 2 => 'color: #0000ff;',
118 3 => 'color: #46aa03; font-weight:bold;',
119 4 => 'color: #0000ff;',
120 ),
121 'COMMENTS' => array(
122 1 => 'color: #adadad; font-style: italic;',
123 ),
124 'ESCAPE_CHAR' => array(
125 0 => 'color: #000099; font-weight: bold;'
126 ),
127 'BRACKETS' => array(
128 0 => 'color: #66cc66;'
129 ),
130 'STRINGS' => array(
131 0 => 'color: #7f007f;'
132 ),
133 'NUMBERS' => array(
134 0 => 'color: #ff0000;'
135 ),
136 'METHODS' => array(
137 ),
138 'SYMBOLS' => array(
139 0 => 'color: #66cc66;'
140 ),
141 'REGEXPS' => array(
142 ),
143 'SCRIPT' => array(
144 )
145 ),
146 'URLS' => array(
147 1 => '',
148 2 => '',
149 3 => '',
150 4 => ''
151 ),
152 'OOLANG' => false,
153 'OBJECT_SPLITTERS' => array(
154 ),
155 'REGEXPS' => array(
156 ),
157 'STRICT_MODE_APPLIES' => GESHI_NEVER,
158 'SCRIPT_DELIMITERS' => array(
159 ),
160 'HIGHLIGHT_STRICT_BLOCK' => array(
161 )
162 );
163
164 ?>

Documentation generated on Tue, 26 Jul 2005 17:10:31 +1200 by phpDocumentor 1.2.3