~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/sdk/resources/lexers/lexer_nsis.xml

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!DOCTYPE CodeBlocks_lexer_properties>
 
3
<CodeBlocks_lexer_properties>
 
4
                <Lexer name="NSIS"
 
5
                index="43"
 
6
                filemasks="*.nsi,*.nsh">
 
7
                <Style name="Default"
 
8
                                                index="0"
 
9
                                                fg="0,0,0"
 
10
                                                bg="255,255,255"
 
11
                                                bold="0"
 
12
                                                italics="0"
 
13
                                                underlined="0"/>
 
14
                <Style name="Comment"
 
15
                        index="1"
 
16
                        fg="160,160,160"/>
 
17
                <Style name="Double quote string"
 
18
                        index="2"
 
19
                        fg="0,0,255"/>
 
20
                <Style name="Left quote string"
 
21
                        index="3"
 
22
                        fg="128,0,0"/>
 
23
                <Style name="Right quote string"
 
24
                        index="4"
 
25
                        fg="128,0,128"/>
 
26
                <Style name="Function"
 
27
                        index="5"
 
28
                        fg="0,0,160"
 
29
                        bold="1"/>
 
30
                <Style name="Variable"
 
31
                        index="6"
 
32
                        fg="160,0,0"/>
 
33
                <Style name="Label"
 
34
                        index="7"
 
35
                        fg="224,160,0"/>
 
36
                <Style name="User defined"
 
37
                        index="8"
 
38
                        fg="0,0,0"/>
 
39
                <Style name="Section"
 
40
                        index="9"
 
41
                        fg="0,0,160"
 
42
                        bold="1"/>
 
43
                <Style name="Sub section"
 
44
                        index="10"
 
45
                        fg="0,0,160"
 
46
                        bold="1"/>
 
47
                <Style name="If def"
 
48
                        index="11"
 
49
                        fg="0,0,160"
 
50
                        bold="1"/>
 
51
                <Style name="Macro definition"
 
52
                        index="12"
 
53
                        fg="0,0,160"
 
54
                        bold="1"/>
 
55
                <Style name="Variable within a string"
 
56
                        index="13"
 
57
                        fg="255,0,0"/>
 
58
                <Style name="Number"
 
59
                        index="14"
 
60
                        fg="240,0,240"/>
 
61
                <Style name="Section group"
 
62
                        index="15"
 
63
                        fg="0,0,160"
 
64
                        bold="1"/>
 
65
                <Style name="Page Ex"
 
66
                        index="16"
 
67
                        fg="0,0,160"
 
68
                        bold="1"/>
 
69
                <Style name="Function definition"
 
70
                        index="17"
 
71
                        fg="0,0,160"
 
72
                        bold="1"/>
 
73
                <Style name="Comment box"
 
74
                        index="18"
 
75
                        fg="128,128,255"
 
76
                        bold="1"/>
 
77
                <Keywords>
 
78
                        <!-- Functions -->
 
79
                        <Set index="0"
 
80
                            value="!addincludedir !addplugindir MakeNSIS Portions
 
81
                                   Contributors: Abort AddBrandingImage AddSize AutoCloseWindow
 
82
                                   BGFont BGGradient BrandingText BringToFront Call CallInstDLL
 
83
                                   Caption ChangeUI ClearErrors ComponentText GetDLLVersion
 
84
                                   GetDLLVersionLocal GetFileTime GetFileTimeLocal CopyFiles CRCCheck
 
85
                                   CreateDirectory CreateFont CreateShortCut SetDatablockOptimize
 
86
                                   DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue Delete
 
87
                                   DetailPrint DirText DirShow DirVar DirVerify GetInstDirError
 
88
                                   AllowRootDirInstall CheckBitmap EnableWindow EnumRegKey
 
89
                                   EnumRegValue Exch Exec ExecWait ExecShell ExpandEnvStrings
 
90
                                   FindWindow FindClose FindFirst FindNext File FileBufSize FlushINI
 
91
                                   ReserveFile FileClose FileErrorText FileOpen FileRead FileWrite
 
92
                                   FileReadByte FileWriteByte FileSeek Function FunctionEnd
 
93
                                   GetDlgItem GetFullPathName GetTempFileName HideWindow Icon IfAbort
 
94
                                   IfErrors IfFileExists IfRebootFlag IfSilent InstallDirRegKey
 
95
                                   InstallColors InstallDir InstProgressFlags InstType IntOp IntCmp
 
96
                                   IntCmpU IntFmt IsWindow Goto LangString LangStringUP LicenseData
 
97
                                   LicenseForceSelection LicenseLangString LicenseText
 
98
                                   LicenseBkColor LoadLanguageFile LogSet LogText MessageBox Nop
 
99
                                   Name OutFile Page PageCallbacks PageEx PageExEnd Pop Push Quit
 
100
                                   ReadINIStr ReadRegDWORD ReadRegStr ReadEnvStr Reboot RegDLL Rename
 
101
                                   Return RMDir Section SectionEnd SectionIn SubSection SectionGroup
 
102
                                   SubSectionEnd SectionGroupEnd SearchPath SectionSetFlags
 
103
                                   SectionGetFlags SectionSetInstTypes SectionGetInstTypes
 
104
                                   SectionGetText SectionSetText SectionGetSize SectionSetSize
 
105
                                   GetCurInstType SetCurInstType InstTypeSetText InstTypeGetText
 
106
                                   SendMessage SetAutoClose SetCtlColors SetBrandingImage SetCompress
 
107
                                   SetCompressor SetCompressorDictSize SetCompressionLevel
 
108
                                   SetDateSave SetDetailsView SetDetailsPrint SetErrors SetErrorLevel
 
109
                                   GetErrorLevel SetFileAttributes SetFont SetOutPath SetOverwrite
 
110
                                   SetPluginUnload SetRebootFlag SetShellVarContext SetSilent
 
111
                                   ShowInstDetails ShowUninstDetails ShowWindow SilentInstall
 
112
                                   SilentUnInstall Sleep StrCmp StrCpy StrLen SubCaption
 
113
                                   UninstallExeName UninstallCaption UninstallIcon UninstPage
 
114
                                   UninstallText UninstallSubCaption UnRegDLL WindowIcon WriteINIStr
 
115
                                   WriteRegBin WriteRegDWORD WriteRegStr WriteRegExpandStr
 
116
                                   WriteUninstaller XPStyle !packhdr !system !execute !AddIncludeDir
 
117
                                   !include !cd !ifdef !ifndef !endif !define !undef !else !echo
 
118
                                   !warning !error !verbose !macro !macroend !insertmacro !ifmacrodef
 
119
                                   !ifmacrondef MiscButtonText DetailsButtonText UninstallButtonText
 
120
                                   InstallButtonText SpaceTexts CompletedText GetFunctionAddress
 
121
                                   GetLabelAddress GetCurrentAddress !AddPluginDir InitPluginsDir
 
122
                                   AllowSkipFiles Var VIAddVersionKey VIProductVersion LockWindow"/>
 
123
                        <!-- Variables -->
 
124
                        <Set index="1"
 
125
                            value="$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $R0 $R1 $R2 $R3 $R4 $R5 $R6 $R7
 
126
                                   $R8 $R9 $\t $\&quot; $\' $\` $VARNAME $0, $INSTDIR $OUTDIR $CMDLINE
 
127
                                   $LANGUAGE $PROGRAMFILES $COMMONFILES $DESKTOP $EXEDIR ${NSISDIR}
 
128
                                   $WINDIR $SYSDIR $TEMP $STARTMENU $SMPROGRAMS $SMSTARTUP
 
129
                                   $QUICKLAUNCH $DOCUMENTS $SENDTO $RECENT $FAVORITES $MUSIC
 
130
                                   $PICTURES $VIDEOS $NETHOOD $FONTS $TEMPLATES $APPDATA $PRINTHOOD
 
131
                                   $INTERNET_CACHE $COOKIES $HISTORY $PROFILE $ADMINTOOLS $RESOURCES
 
132
                                   $RESOURCES_LOCALIZED $CDBURN_AREA $HWNDPARENT $PLUGINSDIR
 
133
                                   $$ $\r $\n"/>
 
134
                        <!-- Labels -->
 
135
                        <Set index="2"
 
136
                            value="ARCHIVE FILE_ATTRIBUTE_ARCHIVE FILE_ATTRIBUTE_HIDDEN
 
137
                                   FILE_ATTRIBUTE_NORMAL FILE_ATTRIBUTE_OFFLINE
 
138
                                   FILE_ATTRIBUTE_READONLY FILE_ATTRIBUTE_SYSTEM
 
139
                                   FILE_ATTRIBUTE_TEMPORARY HIDDEN HKCC HKCR HKCU HKDD
 
140
                                   HKEY_CLASSES_ROOT HKEY_CURRENT_CONFIG HKEY_CURRENT_USER
 
141
                                   HKEY_DYN_DATA HKEY_LOCAL_MACHINE HKEY_PERFORMANCE_DATA HKEY_USERS
 
142
                                   HKLM HKPD HKU IDABORT IDCANCEL IDIGNORE IDNO IDOK IDRETRY IDYES
 
143
                                   MB_ABORTRETRYIGNORE MB_DEFBUTTON1 MB_DEFBUTTON2 MB_DEFBUTTON3
 
144
                                   MB_DEFBUTTON4 MB_ICONEXCLAMATION MB_ICONINFORMATION
 
145
                                   MB_ICONQUESTION MB_ICONSTOP MB_OK MB_OKCANCEL MB_RETRYCANCEL
 
146
                                   MB_RIGHT MB_SETFOREGROUND MB_TOPMOST MB_YESNO MB_YESNOCANCEL
 
147
                                   NORMAL OFFLINE READONLY SW_SHOWMAXIMIZED SW_SHOWMINIMIZED
 
148
                                   SW_SHOWNORMAL SYSTEM TEMPORARY auto colored false force hide
 
149
                                   ifnewer nevershow normal off on show silent silentlog smooth true
 
150
                                   try lzma zlib bzip2 none listonly textonly both top left bottom
 
151
                                   right license components directory instfiles uninstConfirm custom
 
152
                                   all leave current ifdiff lastused LEFT RIGHT CENTER dlg_id ALT
 
153
                                   CONTROL EXT SHIFT open print manual alwaysoff"/>
 
154
                        <!-- User defined -->
 
155
                        <Set index="3"
 
156
                            value=""/>
 
157
                </Keywords>
 
158
                <SampleCode value="lexer_nsis.sample"/>
 
159
                <LanguageAttributes
 
160
                    LineComment=";"
 
161
                    StreamCommentStart="/*"
 
162
                    StreamCommentEnd="*/"
 
163
                    BoxCommentStart="/* "
 
164
                    BoxCommentMid=" * "
 
165
                    BoxCommentEnd=" */"
 
166
                    LexerCommentStyles="1,18"
 
167
                    LexerCharacterStyles=""
 
168
                    LexerStringStyles="2,3,4"
 
169
                    LexerPreprocessorStyles=""/>
 
170
                </Lexer>
 
171
</CodeBlocks_lexer_properties>