Mercurial > vim
annotate runtime/syntax/autoit.vim @ 11177:76fb679a310e v8.0.0475
patch 8.0.0475: not enough testing for the client-server feature
commit https://github.com/vim/vim/commit/7416f3e73ab2c4e7ae3adc2ff6e70234f7d40d2e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 18 18:10:13 2017 +0100
patch 8.0.0475: not enough testing for the client-server feature
Problem: Not enough testing for the client-server feature.
Solution: Add more tests. Add the remote_startserver() function. Fix that
a locally evaluated expression uses function-local variables.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 18 Mar 2017 18:15:04 +0100 |
parents | d1e4abe8342c |
children | 624439a39432 |
rev | line source |
---|---|
1121 | 1 " Vim syntax file |
2 " | |
3 " Language: AutoIt v3 (http://www.autoitscript.com/autoit3/) | |
4 " Maintainer: Jared Breland <jbreland@legroom.net> | |
5 " Authored By: Riccardo Casini <ric@libero.it> | |
6 " Script URL: http://www.vim.org/scripts/script.php?script_id=1239 | |
7 " ChangeLog: Please visit the script URL for detailed change information | |
8 | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
9 " Quit when a syntax file was already loaded. |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
10 if exists("b:current_syntax") |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
11 finish |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
12 endif |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
13 let s:keepcpo= &cpo |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
14 set cpo&vim |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
15 |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
16 let b:current_syntax = "autoit" |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
17 |
1121 | 18 " AutoIt is not case dependent |
19 syn case ignore | |
20 | |
21 " Definitions for AutoIt reserved keywords | |
22 syn keyword autoitKeyword Default False True | |
23 syn keyword autoitKeyword Const Dim Global Local ReDim | |
24 syn keyword autoitKeyword If Else ElseIf Then EndIf | |
25 syn keyword autoitKeyword Select Switch Case EndSelect EndSwitch | |
26 syn keyword autoitKeyword Enum For In To Step Next | |
27 syn keyword autoitKeyword With While EndWith Wend Do Until | |
28 syn keyword autoitKeyword ContinueCase ContinueLoop ExitLoop Exit | |
29 | |
30 " inside script inclusion and global options | |
31 syn match autoitIncluded display contained "<[^>]*>" | |
32 syn match autoitInclude display "^\s*#\s*include\>\s*["<]" | |
33 \ contains=autoitIncluded,autoitString | |
34 syn match autoitInclude "^\s*#include-once\>" | |
35 syn match autoitInclude "^\s*#NoTrayIcon\>" | |
36 syn match autoitInclude "^\s*#RequireAdmin\>" | |
37 | |
38 " user-defined functions | |
39 syn keyword autoitKeyword Func ByRef EndFunc Return OnAutoItStart OnAutoItExit | |
40 | |
41 " built-in functions | |
42 " environment management | |
43 syn keyword autoitFunction ClipGet ClipPut EnvGet EnvSet EnvUpdate MemGetStats | |
44 " file, directory, and disk management | |
45 syn keyword autoitFunction ConsoleRead ConsoleWrite ConsoleWriteError | |
46 syn keyword autoitFunction DirCopy DirCreate DirGetSize DirMove DirRemove | |
47 syn keyword autoitFunction DriveGetDrive DriveGetFileSystem DriveGetLabel | |
48 \ DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet | |
49 \ DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus | |
50 syn keyword autoitFunction FileChangeDir FileClose FileCopy FileCreateNTFSLink | |
51 \ FileCreateShortcut FileDelete FileExists FileFindFirstFile | |
52 \ FileFindNextFile FileGetAttrib FileGetLongName FileGetShortcut | |
53 \ FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall | |
54 \ FileMove FileOpen FileOpenDialog FileRead FileReadLine FileRecycle | |
55 \ FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib | |
56 \ FileSetTime FileWrite FileWriteLine | |
57 syn keyword autoitFunction IniDelete IniRead IniReadSection IniReadSectionNames | |
58 \ IniRenameSection IniWrite IniWriteSection | |
59 syn keyword autoitFunction StderrRead StdinWrite StdoutRead | |
60 " graphic and sound | |
61 syn keyword autoitFunction Beep PixelChecksum PixelGetColor PixelSearch | |
62 \ SoundPlay SoundSetWaveVolume | |
63 " gui reference | |
64 syn keyword autoitFunction GUICreate GUIDelete GUICtrlGetHandle GUICtrlGetState | |
65 \ GUICtrlRead GUICtrlRecvMsg GUICtrlSendMsg GUICtrlSendToDummy | |
66 \ GUIGetCursorInfo GUIGetMsg GUIRegisterMsg GUIStartGroup GUISwitch | |
67 syn keyword autoitFunction GUICtrlCreateAvi GUICtrlCreateButton | |
68 \ GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu | |
69 \ GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit | |
70 \ GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon | |
71 \ GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList | |
72 \ GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu | |
73 \ GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj | |
74 \ GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio | |
75 \ GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem | |
76 \ GUICtrlCreateTreeView GUICtrlCreateTreeViewItem | |
77 \ GUICtrlCreateUpDown GUICtrlDelete | |
78 syn keyword autoitFunction GUICtrlRegisterListViewSort GUICtrlSetBkColor | |
79 \ GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetFont | |
80 \ GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent | |
81 \ GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle | |
82 \ GUICtrlSetTip | |
83 syn keyword autoitFunction GUISetBkColor GUISetCoord GUISetCursor GUISetFont | |
84 \ GUISetHelp GUISetIcon GUISetOnEvent GUISetState | |
85 " keyboard control | |
86 syn keyword autoitFunction HotKeySet Send | |
87 " math | |
88 syn keyword autoitFunction Abs ACos ASin ATan BitAND BitNOT BitOR BitRotate | |
89 \ BitShift BitXOR Cos Ceiling Exp Floor Log Mod Random Round Sin Sqrt | |
90 \ SRandom Tan | |
91 " message boxes and dialogs | |
92 syn keyword autoitFunction InputBox MsgBox ProgressOff ProgressOn ProgressSet | |
93 \ SplashImageOn SplashOff SplashTextOn ToolTip | |
94 " miscellaneous | |
95 syn keyword autoitFunction AdlibDisable AdlibEnable AutoItSetOption | |
96 \ AutoItWinGetTitle AutoItWinSetTitle BlockInput Break Call CDTray | |
97 \ Execute Opt SetError SetExtended | |
98 " mouse control | |
99 syn keyword autoitFunction MouseClick MouseClickDrag MouseDown MouseGetCursor | |
100 \ MouseGetPos MouseMove MouseUp MouseWheel | |
101 " network | |
102 syn keyword autoitFunction FtpSetProxy HttpSetProxy InetGet InetGetSize Ping | |
103 \ TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIp TCPRecv | |
104 \ TCPSend TCPShutDown TCPStartup UDPBind UDPCloseSocket UDPOpen UDPRecv | |
105 \ UDPSend UDPShutdown UDPStartup | |
106 " obj/com reference | |
107 syn keyword autoitFunction ObjCreate ObjEvent ObjGet ObjName | |
108 " process management | |
109 syn keyword autoitFunction DllCall DllClose DllOpen DllStructCreate | |
110 \ DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData | |
111 \ ProcessClose ProcessExists ProcessSetPriority ProcessList ProcessWait | |
112 \ ProcessWaitClose Run RunAsSet RunWait ShellExecute ShellExecuteWait | |
113 \ Shutdown | |
114 " removed from 3.2.0 docs - PluginClose PluginOpen | |
115 " registry management | |
116 syn keyword autoitFunction RegDelete RegEnumKey RegEnumVal RegRead RegWrite | |
117 " string management | |
118 syn keyword autoitFunction StringAddCR StringFormat StringInStr StringIsAlNum | |
119 \ StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt | |
120 \ StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft | |
121 \ StringLen StringLower StringMid StringRegExp StringRegExpReplace | |
122 \ StringReplace StringRight StringSplit StringStripCR StringStripWS | |
123 \ StringTrimLeft StringTrimRight StringUpper | |
124 " timer and delay | |
125 syn keyword autoitFunction Sleep TimerInit TimerDiff | |
126 " tray | |
127 syn keyword autoitFunction TrayCreateItem TrayCreateMenu TrayItemDelete | |
128 \ TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent | |
129 \ TrayItemSetState TrayItemSetText TrayGetMsg TraySetClick TraySetIcon | |
130 \ TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip | |
131 " variables and conversions | |
132 syn keyword autoitFunction Asc Assign Binary Chr Dec Eval Hex HWnd Int IsAdmin | |
133 \ IsArray IsBinaryString IsBool IsDeclared IsDllStruct IsFloat IsHWnd | |
134 \ IsInt IsKeyword IsNumber IsObj IsString Number String UBound | |
135 " window management | |
136 syn keyword autoitFunction WinActivate WinActive WinClose WinExists WinFlash | |
137 \ WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos | |
138 \ WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList | |
139 \ WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove | |
140 \ WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive | |
141 \ WinWaitClose WinWaitNotActive | |
142 syn keyword autoitFunction ControlClick ControlCommand ControlDisable | |
143 \ ControlEnable ControlFocus ControlGetFocus ControlGetHandle | |
144 \ ControlGetPos ControlGetText ControlHide ControlListView ControlMove | |
145 \ ControlSend ControlSetText ControlShow StatusBarGetText | |
146 | |
147 " user defined functions | |
148 " array | |
149 syn keyword autoitFunction _ArrayAdd _ArrayBinarySearch _ArrayCreate | |
150 \ _ArrayDelete _ArrayDisplay _ArrayInsert _ArrayMax _ArrayMaxIndex | |
151 \ _ArrayMin _ArrayMinIndex _ArrayPop _ArrayPush _ArrayReverse | |
152 \ _ArraySearch _ArraySort _ArraySwap _ArrayToClip _ArrayToString | |
153 \ _ArrayTrim | |
154 " color | |
155 syn keyword autoitFunction _ColorgetBlue _ColorGetGreen _ColorGetRed | |
156 " date | |
157 syn keyword autoitFunction _DateAdd _DateDayOfWeek _DateDaysInMonth _DateDiff | |
158 \ _DateIsLeapYear _DateIsValid _DateTimeFormat _DateTimeSplit | |
159 \ _DateToDayOfWeek _ToDayOfWeekISO _DateToDayValue _DayValueToDate _Now | |
160 \ _NowCalc _NowCalcDate _NowDate _NowTime _SetDate _SetTime _TicksToTime | |
161 \ _TimeToTicks _WeekNumberISO | |
162 " file | |
163 syn keyword autoitFunction _FileCountLines _FileCreate _FileListToArray | |
164 \ _FilePrint _FileReadToArray _FileWriteFromArray _FileWriteLog | |
165 \ _FileWriteToLine _PathFull _PathMake _PathSplit _ReplaceStringInFile | |
166 \ _TempFile | |
167 " guicombo | |
168 syn keyword autoitFunction _GUICtrlComboAddDir _GUICtrlComboAddString | |
169 \ _GUICtrlComboAutoComplete _GUICtrlComboDeleteString | |
170 \ _GUICtrlComboFindString _GUICtrlComboGetCount _GUICtrlComboGetCurSel | |
171 \ _GUICtrlComboGetDroppedControlRect _GUICtrlComboGetDroppedState | |
172 \ _GUICtrlComboGetDroppedWidth _GUICtrlComboGetEditSel | |
173 \ _GUICtrlComboGetExtendedUI _GUICtrlComboGetHorizontalExtent | |
174 \ _GUICtrlComboGetItemHeight _GUICtrlComboGetLBText | |
175 \ _GUICtrlComboGetLBTextLen _GUICtrlComboGetList _GUICtrlComboGetLocale | |
176 \ _GUICtrlComboGetMinVisible _GUICtrlComboGetTopIndex | |
177 \ _GUICtrlComboInitStorage _GUICtrlComboInsertString | |
178 \ _GUICtrlComboLimitText _GUICtrlComboResetContent | |
179 \ _GUICtrlComboSelectString _GUICtrlComboSetCurSel | |
180 \ _GUICtrlComboSetDroppedWidth _GUICtrlComboSetEditSel | |
181 \ _GUICtrlComboSetExtendedUI _GUICtrlComboSetHorizontalExtent | |
182 \ _GUICtrlComboSetItemHeight _GUICtrlComboSetMinVisible | |
183 \ _GUICtrlComboSetTopIndex _GUICtrlComboShowDropDown | |
184 " guiedit | |
185 syn keyword autoitFunction _GUICtrlEditCanUndo _GUICtrlEditEmptyUndoBuffer | |
186 \ _GuiCtrlEditFind _GUICtrlEditGetFirstVisibleLine _GUICtrlEditGetLine | |
187 \ _GUICtrlEditGetLineCount _GUICtrlEditGetModify _GUICtrlEditGetRect | |
188 \ _GUICtrlEditGetSel _GUICtrlEditLineFromChar _GUICtrlEditLineIndex | |
189 \ _GUICtrlEditLineLength _GUICtrlEditLineScroll _GUICtrlEditReplaceSel | |
190 \ _GUICtrlEditScroll _GUICtrlEditSetModify _GUICtrlEditSetRect | |
191 \ _GUICtrlEditSetSel _GUICtrlEditUndo | |
192 " guiipaddress | |
193 syn keyword autoitFunction _GUICtrlIpAddressClear _GUICtrlIpAddressCreate | |
194 \ _GUICtrlIpAddressDelete _GUICtrlIpAddressGet _GUICtrlIpAddressIsBlank | |
195 \ _GUICtrlIpAddressSet _GUICtrlIpAddressSetFocus | |
196 \ _GUICtrlIpAddressSetFont | |
197 \ _GUICtrlIpAddressSetRange _GUICtrlIpAddressShowHide | |
198 " guilist | |
199 syn keyword autoitFunction _GUICtrlListAddDir _GUICtrlListAddItem | |
200 \ _GUICtrlListClear | |
201 \ _GUICtrlListCount _GUICtrlListDeleteItem _GUICtrlListFindString | |
202 \ _GUICtrlListGetAnchorIndex _GUICtrlListGetCaretIndex | |
203 \ _GUICtrlListGetHorizontalExtent _GUICtrlListGetInfo | |
204 \ _GUICtrlListGetItemRect _GUICtrlListGetLocale _GUICtrlListGetSelCount | |
205 \ _GUICtrlListGetSelItems _GUICtrlListGetSelItemsText | |
206 \ _GUICtrlListGetSelState _GUICtrlListGetText _GUICtrlListGetTextLen | |
207 \ _GUICtrlListGetTopIndex _GUICtrlListInsertItem | |
208 \ _GUICtrlListReplaceString _GUICtrlListSelectedIndex | |
209 \ _GUICtrlListSelectIndex _GUICtrlListSelectString | |
210 \ _GUICtrlListSelItemRange _GUICtrlListSelItemRangeEx | |
211 \ _GUICtrlListSetAnchorIndex _GUICtrlListSetCaretIndex | |
212 \ _GUICtrlListSetHorizontalExtent _GUICtrlListSetLocale | |
213 \ _GUICtrlListSetSel _GUICtrlListSetTopIndex _GUICtrlListSort | |
214 \ _GUICtrlListSwapString | |
215 " guilistview | |
216 syn keyword autoitFunction _GUICtrlListViewCopyItems | |
217 \ _GUICtrlListViewDeleteAllItems _GUICtrlListViewDeleteColumn | |
218 \ _GUICtrlListViewDeleteItem _GUICtrlListViewDeleteItemsSelected | |
219 \ _GUICtrlListViewEnsureVisible _GUICtrlListViewFindItem | |
220 \ _GUICtrlListViewGetBackColor _GUICtrlListViewGetCallBackMask | |
221 \ _GUICtrlListViewGetCheckedState _GUICtrlListViewGetColumnOrder | |
222 \ _GUICtrlListViewGetColumnWidth _GUICtrlListViewGetCounterPage | |
223 \ _GUICtrlListViewGetCurSel _GUICtrlListViewGetExtendedListViewStyle | |
224 \ _GUICtrlListViewGetHeader _GUICtrlListViewGetHotCursor | |
225 \ _GUICtrlListViewGetHotItem _GUICtrlListViewGetHoverTime | |
226 \ _GUICtrlListViewGetItemCount _GUICtrlListViewGetItemText | |
227 \ _GUICtrlListViewGetItemTextArray _GUICtrlListViewGetNextItem | |
228 \ _GUICtrlListViewGetSelectedCount _GUICtrlListViewGetSelectedIndices | |
229 \ _GUICtrlListViewGetSubItemsCount _GUICtrlListViewGetTopIndex | |
230 \ _GUICtrlListViewGetUnicodeFormat _GUICtrlListViewHideColumn | |
231 \ _GUICtrlListViewInsertColumn _GUICtrlListViewInsertItem | |
232 \ _GUICtrlListViewJustifyColumn _GUICtrlListViewScroll | |
233 \ _GUICtrlListViewSetCheckState _GUICtrlListViewSetColumnHeaderText | |
234 \ _GUICtrlListViewSetColumnOrder _GUICtrlListViewSetColumnWidth | |
235 \ _GUICtrlListViewSetHotItem _GUICtrlListViewSetHoverTime | |
236 \ _GUICtrlListViewSetItemCount _GUICtrlListViewSetItemSelState | |
237 \ _GUICtrlListViewSetItemText _GUICtrlListViewSort | |
238 " guimonthcal | |
239 syn keyword autoitFunction _GUICtrlMonthCalGet1stDOW _GUICtrlMonthCalGetColor | |
240 \ _GUICtrlMonthCalGetDelta _GUICtrlMonthCalGetMaxSelCount | |
241 \ _GUICtrlMonthCalGetMaxTodayWidth _GUICtrlMonthCalGetMinReqRect | |
242 \ _GUICtrlMonthCalSet1stDOW _GUICtrlMonthCalSetColor | |
243 \ _GUICtrlMonthCalSetDelta _GUICtrlMonthCalSetMaxSelCount | |
244 " guislider | |
245 syn keyword autoitFunction _GUICtrlSliderClearTics _GUICtrlSliderGetLineSize | |
246 \ _GUICtrlSliderGetNumTics _GUICtrlSliderGetPageSize | |
247 \ _GUICtrlSliderGetPos _GUICtrlSliderGetRangeMax | |
248 \ _GUICtrlSliderGetRangeMin _GUICtrlSliderSetLineSize | |
249 \ _GUICtrlSliderSetPageSize _GUICtrlSliderSetPos | |
250 \ _GUICtrlSliderSetTicFreq | |
251 " guistatusbar | |
252 syn keyword autoitFunction _GuiCtrlStatusBarCreate | |
253 \ _GUICtrlStatusBarCreateProgress _GUICtrlStatusBarDelete | |
254 \ _GuiCtrlStatusBarGetBorders _GuiCtrlStatusBarGetIcon | |
255 \ _GuiCtrlStatusBarGetParts _GuiCtrlStatusBarGetRect | |
256 \ _GuiCtrlStatusBarGetText _GuiCtrlStatusBarGetTextLength | |
257 \ _GuiCtrlStatusBarGetTip _GuiCtrlStatusBarGetUnicode | |
258 \ _GUICtrlStatusBarIsSimple _GuiCtrlStatusBarResize | |
259 \ _GuiCtrlStatusBarSetBKColor _GuiCtrlStatusBarSetIcon | |
260 \ _GuiCtrlStatusBarSetMinHeight _GUICtrlStatusBarSetParts | |
261 \ _GuiCtrlStatusBarSetSimple _GuiCtrlStatusBarSetText | |
262 \ _GuiCtrlStatusBarSetTip _GuiCtrlStatusBarSetUnicode | |
263 \ _GUICtrlStatusBarShowHide | |
264 " guitab | |
265 syn keyword autoitFunction _GUICtrlTabDeleteAllItems _GUICtrlTabDeleteItem | |
266 \ _GUICtrlTabDeselectAll _GUICtrlTabGetCurFocus _GUICtrlTabGetCurSel | |
267 \ _GUICtrlTabGetExtendedStyle _GUICtrlTabGetItemCount | |
268 \ _GUICtrlTabGetItemRect _GUICtrlTabGetRowCount | |
269 \ _GUICtrlTabGetUnicodeFormat _GUICtrlTabHighlightItem | |
270 \ _GUICtrlTabSetCurFocus _GUICtrlTabSetCurSel | |
271 \ _GUICtrlTabSetMinTabWidth _GUICtrlTabSetUnicodeFormat | |
272 " guitreeview | |
273 syn keyword autoitFunction _GUICtrlTreeViewDeleteAllItems | |
274 \ _GUICtrlTreeViewDeleteItem _GUICtrlTreeViewExpand | |
275 \ _GUICtrlTreeViewGetBkColor _GUICtrlTreeViewGetCount | |
276 \ _GUICtrlTreeViewGetIndent _GUICtrlTreeViewGetLineColor | |
277 \ _GUICtrlTreeViewGetParentHandle _GUICtrlTreeViewGetParentID | |
278 \ _GUICtrlTreeViewGetState _GUICtrlTreeViewGetText | |
279 \ _GUICtrlTreeViewGetTextColor _GUICtrlTreeViewItemGetTree | |
280 \ _GUICtrlTreeViewInsertItem _GUICtrlTreeViewSetBkColor | |
281 \ _GUICtrlTreeViewSetIcon _GUICtrlTreeViewSetIndent | |
282 \ _GUICtrlTreeViewSetLineColor GUICtrlTreeViewSetState | |
283 \ _GUICtrlTreeViewSetText _GUICtrlTreeViewSetTextColor | |
284 \ _GUICtrlTreeViewSort | |
285 " ie | |
286 syn keyword autoitFunction _IE_Example _IE_Introduction _IE_VersionInfo | |
287 \ _IEAction _IEAttach _IEBodyReadHTML _IEBodyReadText _IEBodyWriteHTML | |
288 \ _IECreate _IECreateEmbedded _IEDocGetObj _IEDocInsertHTML | |
289 \ _IEDocInsertText _IEDocReadHTML _IEDocWriteHTML | |
290 \ _IEErrorHandlerDeRegister _IEErrorHandlerRegister _IEErrorNotify | |
291 \ _IEFormElementCheckboxSelect _IEFormElementGetCollection | |
292 \ _IEFormElementGetObjByName _IEFormElementGetValue | |
293 \ _IEFormElementOptionSelect _IEFormElementRadioSelect | |
294 \ _IEFormElementSetValue _IEFormGetCollection _IEFormGetObjByName | |
295 \ _IEFormImageClick _IEFormReset _IEFormSubmit _IEFrameGetCollection | |
296 \ _IEFrameGetObjByName _IEGetObjByName _IEHeadInsertEventScript | |
297 \ _IEImgClick _IEImgGetCollection _IEIsFrameSet _IELinkClickByIndex | |
298 \ _IELinkClickByText _IELinkGetCollection _IELoadWait _IELoadWaitTimeout | |
299 \ _IENavigate _IEPropertyGet _IEPropertySet _IEQuit | |
300 \ _IETableGetCollection _IETableWriteToArray _IETagNameAllGetCollection | |
301 \ _IETagNameGetCollection | |
302 " inet | |
303 syn keyword autoitFunction _GetIP _INetExplorerCapable _INetGetSource _INetMail | |
304 \ _INetSmtpMail _TCPIpToName | |
305 " math | |
306 syn keyword autoitFunction _Degree _MathCheckDiv _Max _Min _Radian | |
307 " miscellaneous | |
308 syn keyword autoitFunction _ChooseColor _ChooseFont _ClipPutFile _Iif | |
309 \ _IsPressed _MouseTrap _SendMessage _Singleton | |
310 " process | |
311 syn keyword autoitFunction _ProcessGetName _ProcessGetPriority _RunDOS | |
312 " sound | |
313 syn keyword autoitFunction _SoundClose _SoundLength _SoundOpen _SoundPause | |
314 \ _SoundPlay _SoundPos _SoundResume _SoundSeek _SoundStatus _SoundStop | |
315 " sqlite | |
316 syn keyword autoitFunction _SQLite_Changes _SQLite_Close | |
317 \ _SQLite_Display2DResult _SQLite_Encode _SQLite_ErrCode _SQLite_ErrMsg | |
318 \ _SQLite_Escape _SQLite_Exec _SQLite_FetchData _SQLite_FetchNames | |
319 \ _SQLite_GetTable _SQLite_GetTable2D _SQLite_LastInsertRowID | |
320 \ _SQLite_LibVersion _SQLite_Open _SQLite_Query _SQLite_QueryFinalize | |
321 \ _SQLite_QueryReset _SQLite_QuerySingleRow _SQLite_SaveMode | |
322 \ _SQLite_SetTimeout _SQLite_Shutdown _SQLite_SQLiteExe _SQLite_Startup | |
323 \ _SQLite_TotalChanges | |
324 " string | |
325 syn keyword autoitFunction _HexToString _StringAddComma _StringBetween | |
326 \ _StringEncrypt _StringInsert _StringProper _StringRepeat | |
327 \ _StringReverse _StringToHex | |
328 " visa | |
329 syn keyword autoitFunction _viClose _viExecCommand _viFindGpib _viGpibBusReset | |
330 \ _viGTL _viOpen _viSetAttribute _viSetTimeout | |
331 | |
332 " read-only macros | |
333 syn match autoitBuiltin "@AppData\(Common\)\=Dir" | |
334 syn match autoitBuiltin "@AutoItExe" | |
335 syn match autoitBuiltin "@AutoItPID" | |
336 syn match autoitBuiltin "@AutoItVersion" | |
337 syn match autoitBuiltin "@COM_EventObj" | |
338 syn match autoitBuiltin "@CommonFilesDir" | |
339 syn match autoitBuiltin "@Compiled" | |
340 syn match autoitBuiltin "@ComputerName" | |
341 syn match autoitBuiltin "@ComSpec" | |
342 syn match autoitBuiltin "@CR\(LF\)\=" | |
343 syn match autoitBuiltin "@Desktop\(Common\)\=Dir" | |
344 syn match autoitBuiltin "@DesktopDepth" | |
345 syn match autoitBuiltin "@DesktopHeight" | |
346 syn match autoitBuiltin "@DesktopRefresh" | |
347 syn match autoitBuiltin "@DesktopWidth" | |
348 syn match autoitBuiltin "@DocumentsCommonDir" | |
349 syn match autoitBuiltin "@Error" | |
350 syn match autoitBuiltin "@ExitCode" | |
351 syn match autoitBuiltin "@ExitMethod" | |
352 syn match autoitBuiltin "@Extended" | |
353 syn match autoitBuiltin "@Favorites\(Common\)\=Dir" | |
354 syn match autoitBuiltin "@GUI_CtrlId" | |
355 syn match autoitBuiltin "@GUI_CtrlHandle" | |
356 syn match autoitBuiltin "@GUI_DragId" | |
357 syn match autoitBuiltin "@GUI_DragFile" | |
358 syn match autoitBuiltin "@GUI_DropId" | |
359 syn match autoitBuiltin "@GUI_WinHandle" | |
360 syn match autoitBuiltin "@HomeDrive" | |
361 syn match autoitBuiltin "@HomePath" | |
362 syn match autoitBuiltin "@HomeShare" | |
363 syn match autoitBuiltin "@HOUR" | |
364 syn match autoitBuiltin "@HotKeyPressed" | |
365 syn match autoitBuiltin "@InetGetActive" | |
366 syn match autoitBuiltin "@InetGetBytesRead" | |
367 syn match autoitBuiltin "@IPAddress[1234]" | |
368 syn match autoitBuiltin "@KBLayout" | |
369 syn match autoitBuiltin "@LF" | |
370 syn match autoitBuiltin "@Logon\(DNS\)\=Domain" | |
371 syn match autoitBuiltin "@LogonServer" | |
372 syn match autoitBuiltin "@MDAY" | |
373 syn match autoitBuiltin "@MIN" | |
374 syn match autoitBuiltin "@MON" | |
375 syn match autoitBuiltin "@MyDocumentsDir" | |
376 syn match autoitBuiltin "@NumParams" | |
377 syn match autoitBuiltin "@OSBuild" | |
378 syn match autoitBuiltin "@OSLang" | |
379 syn match autoitBuiltin "@OSServicePack" | |
380 syn match autoitBuiltin "@OSTYPE" | |
381 syn match autoitBuiltin "@OSVersion" | |
382 syn match autoitBuiltin "@ProcessorArch" | |
383 syn match autoitBuiltin "@ProgramFilesDir" | |
384 syn match autoitBuiltin "@Programs\(Common\)\=Dir" | |
385 syn match autoitBuiltin "@ScriptDir" | |
386 syn match autoitBuiltin "@ScriptFullPath" | |
387 syn match autoitBuiltin "@ScriptLineNumber" | |
388 syn match autoitBuiltin "@ScriptName" | |
389 syn match autoitBuiltin "@SEC" | |
390 syn match autoitBuiltin "@StartMenu\(Common\)\=Dir" | |
391 syn match autoitBuiltin "@Startup\(Common\)\=Dir" | |
392 syn match autoitBuiltin "@SW_DISABLE" | |
393 syn match autoitBuiltin "@SW_ENABLE" | |
394 syn match autoitBuiltin "@SW_HIDE" | |
395 syn match autoitBuiltin "@SW_LOCK" | |
396 syn match autoitBuiltin "@SW_MAXIMIZE" | |
397 syn match autoitBuiltin "@SW_MINIMIZE" | |
398 syn match autoitBuiltin "@SW_RESTORE" | |
399 syn match autoitBuiltin "@SW_SHOW" | |
400 syn match autoitBuiltin "@SW_SHOWDEFAULT" | |
401 syn match autoitBuiltin "@SW_SHOWMAXIMIZED" | |
402 syn match autoitBuiltin "@SW_SHOWMINIMIZED" | |
403 syn match autoitBuiltin "@SW_SHOWMINNOACTIVE" | |
404 syn match autoitBuiltin "@SW_SHOWNA" | |
405 syn match autoitBuiltin "@SW_SHOWNOACTIVATE" | |
406 syn match autoitBuiltin "@SW_SHOWNORMAL" | |
407 syn match autoitBuiltin "@SW_UNLOCK" | |
408 syn match autoitBuiltin "@SystemDir" | |
409 syn match autoitBuiltin "@TAB" | |
410 syn match autoitBuiltin "@TempDir" | |
411 syn match autoitBuiltin "@TRAY_ID" | |
412 syn match autoitBuiltin "@TrayIconFlashing" | |
413 syn match autoitBuiltin "@TrayIconVisible" | |
414 syn match autoitBuiltin "@UserProfileDir" | |
415 syn match autoitBuiltin "@UserName" | |
416 syn match autoitBuiltin "@WDAY" | |
417 syn match autoitBuiltin "@WindowsDir" | |
418 syn match autoitBuiltin "@WorkingDir" | |
419 syn match autoitBuiltin "@YDAY" | |
420 syn match autoitBuiltin "@YEAR" | |
421 | |
422 "comments and commenting-out | |
423 syn match autoitComment ";.*" | |
424 "in this way also #ce alone will be highlighted | |
425 syn match autoitCommDelimiter "^\s*#comments-start\>" | |
426 syn match autoitCommDelimiter "^\s*#cs\>" | |
427 syn match autoitCommDelimiter "^\s*#comments-end\>" | |
428 syn match autoitCommDelimiter "^\s*#ce\>" | |
429 syn region autoitComment | |
430 \ matchgroup=autoitCommDelimiter | |
431 \ start="^\s*#comments-start\>" start="^\s*#cs\>" | |
432 \ end="^\s*#comments-end\>" end="^\s*#ce\>" | |
433 | |
434 "one character operators | |
435 syn match autoitOperator "[-+*/&^=<>][^-+*/&^=<>]"me=e-1 | |
436 "two characters operators | |
437 syn match autoitOperator "==[^=]"me=e-1 | |
438 syn match autoitOperator "<>" | |
439 syn match autoitOperator "<=" | |
440 syn match autoitOperator ">=" | |
441 syn match autoitOperator "+=" | |
442 syn match autoitOperator "-=" | |
443 syn match autoitOperator "*=" | |
444 syn match autoitOperator "/=" | |
445 syn match autoitOperator "&=" | |
446 syn keyword autoitOperator NOT AND OR | |
447 | |
448 syn match autoitParen "(\|)" | |
449 syn match autoitBracket "\[\|\]" | |
450 syn match autoitComma "," | |
451 | |
452 "numbers must come after operator '-' | |
453 "decimal numbers without a dot | |
454 syn match autoitNumber "-\=\<\d\+\>" | |
455 "hexadecimal numbers without a dot | |
456 syn match autoitNumber "-\=\<0x\x\+\>" | |
457 "floating point number with dot (inside or at end) | |
458 | |
459 syn match autoitNumber "-\=\<\d\+\.\d*\>" | |
460 "floating point number, starting with a dot | |
461 syn match autoitNumber "-\=\<\.\d\+\>" | |
462 "scientific notation numbers without dots | |
463 syn match autoitNumber "-\=\<\d\+e[-+]\=\d\+\>" | |
464 "scientific notation numbers with dots | |
465 syn match autoitNumber "-\=\<\(\(\d\+\.\d*\)\|\(\.\d\+\)\)\(e[-+]\=\d\+\)\=\>" | |
466 | |
467 "string constants | |
468 "we want the escaped quotes marked in red | |
469 syn match autoitDoubledSingles +''+ contained | |
470 syn match autoitDoubledDoubles +""+ contained | |
471 "we want the continuation character marked in red | |
472 "(also at the top level, not just contained) | |
473 syn match autoitCont "_$" | |
474 | |
475 " send key list - must be defined before autoitStrings | |
476 syn match autoitSend "{!}" contained | |
477 syn match autoitSend "{#}" contained | |
478 syn match autoitSend "{+}" contained | |
479 syn match autoitSend "{^}" contained | |
480 syn match autoitSend "{{}" contained | |
481 syn match autoitSend "{}}" contained | |
482 syn match autoitSend "{SPACE}" contained | |
483 syn match autoitSend "{ENTER}" contained | |
484 syn match autoitSend "{ALT}" contained | |
485 syn match autoitSend "{BACKSPACE}" contained | |
486 syn match autoitSend "{BS}" contained | |
487 syn match autoitSend "{DELETE}" contained | |
488 syn match autoitSend "{DEL}" contained | |
489 syn match autoitSend "{UP}" contained | |
490 syn match autoitSend "{DOWN}" contained | |
491 syn match autoitSend "{LEFT}" contained | |
492 syn match autoitSend "{RIGHT}" contained | |
493 syn match autoitSend "{HOME}" contained | |
494 syn match autoitSend "{END}" contained | |
495 syn match autoitSend "{ESCAPE}" contained | |
496 syn match autoitSend "{ESC}" contained | |
497 syn match autoitSend "{INSERT}" contained | |
498 syn match autoitSend "{INS}" contained | |
499 syn match autoitSend "{PGUP}" contained | |
500 syn match autoitSend "{PGDN}" contained | |
501 syn match autoitSend "{F1}" contained | |
502 syn match autoitSend "{F2}" contained | |
503 syn match autoitSend "{F3}" contained | |
504 syn match autoitSend "{F4}" contained | |
505 syn match autoitSend "{F5}" contained | |
506 syn match autoitSend "{F6}" contained | |
507 syn match autoitSend "{F7}" contained | |
508 syn match autoitSend "{F8}" contained | |
509 syn match autoitSend "{F9}" contained | |
510 syn match autoitSend "{F10}" contained | |
511 syn match autoitSend "{F11}" contained | |
512 syn match autoitSend "{F12}" contained | |
513 syn match autoitSend "{TAB}" contained | |
514 syn match autoitSend "{PRINTSCREEN}" contained | |
515 syn match autoitSend "{LWIN}" contained | |
516 syn match autoitSend "{RWIN}" contained | |
517 syn match autoitSend "{NUMLOCK}" contained | |
518 syn match autoitSend "{CTRLBREAK}" contained | |
519 syn match autoitSend "{PAUSE}" contained | |
520 syn match autoitSend "{CAPSLOCK}" contained | |
521 syn match autoitSend "{NUMPAD0}" contained | |
522 syn match autoitSend "{NUMPAD1}" contained | |
523 syn match autoitSend "{NUMPAD2}" contained | |
524 syn match autoitSend "{NUMPAD3}" contained | |
525 syn match autoitSend "{NUMPAD4}" contained | |
526 syn match autoitSend "{NUMPAD5}" contained | |
527 syn match autoitSend "{NUMPAD6}" contained | |
528 syn match autoitSend "{NUMPAD7}" contained | |
529 syn match autoitSend "{NUMPAD8}" contained | |
530 syn match autoitSend "{NUMPAD9}" contained | |
531 syn match autoitSend "{NUMPADMULT}" contained | |
532 syn match autoitSend "{NUMPADADD}" contained | |
533 syn match autoitSend "{NUMPADSUB}" contained | |
534 syn match autoitSend "{NUMPADDIV}" contained | |
535 syn match autoitSend "{NUMPADDOT}" contained | |
536 syn match autoitSend "{NUMPADENTER}" contained | |
537 syn match autoitSend "{APPSKEY}" contained | |
538 syn match autoitSend "{LALT}" contained | |
539 syn match autoitSend "{RALT}" contained | |
540 syn match autoitSend "{LCTRL}" contained | |
541 syn match autoitSend "{RCTRL}" contained | |
542 syn match autoitSend "{LSHIFT}" contained | |
543 syn match autoitSend "{RSHIFT}" contained | |
544 syn match autoitSend "{SLEEP}" contained | |
545 syn match autoitSend "{ALTDOWN}" contained | |
546 syn match autoitSend "{SHIFTDOWN}" contained | |
547 syn match autoitSend "{CTRLDOWN}" contained | |
548 syn match autoitSend "{LWINDOWN}" contained | |
549 syn match autoitSend "{RWINDOWN}" contained | |
550 syn match autoitSend "{ASC \d\d\d\d}" contained | |
551 syn match autoitSend "{BROWSER_BACK}" contained | |
552 syn match autoitSend "{BROWSER_FORWARD}" contained | |
553 syn match autoitSend "{BROWSER_REFRESH}" contained | |
554 syn match autoitSend "{BROWSER_STOP}" contained | |
555 syn match autoitSend "{BROWSER_SEARCH}" contained | |
556 syn match autoitSend "{BROWSER_FAVORITES}" contained | |
557 syn match autoitSend "{BROWSER_HOME}" contained | |
558 syn match autoitSend "{VOLUME_MUTE}" contained | |
559 syn match autoitSend "{VOLUME_DOWN}" contained | |
560 syn match autoitSend "{VOLUME_UP}" contained | |
561 syn match autoitSend "{MEDIA_NEXT}" contained | |
562 syn match autoitSend "{MEDIA_PREV}" contained | |
563 syn match autoitSend "{MEDIA_STOP}" contained | |
564 syn match autoitSend "{MEDIA_PLAY_PAUSE}" contained | |
565 syn match autoitSend "{LAUNCH_MAIL}" contained | |
566 syn match autoitSend "{LAUNCH_MEDIA}" contained | |
567 syn match autoitSend "{LAUNCH_APP1}" contained | |
568 syn match autoitSend "{LAUNCH_APP2}" contained | |
569 | |
570 "this was tricky! | |
571 "we use an oneline region, instead of a match, in order to use skip= | |
572 "matchgroup= so start and end quotes are not considered as au3Doubled | |
573 "contained | |
574 syn region autoitString oneline contains=autoitSend matchgroup=autoitQuote start=+"+ | |
575 \ end=+"+ end=+_\n\{1}.*"+ | |
576 \ contains=autoitCont,autoitDoubledDoubles skip=+""+ | |
577 syn region autoitString oneline matchgroup=autoitQuote start=+'+ | |
578 \ end=+'+ end=+_\n\{1}.*'+ | |
579 \ contains=autoitCont,autoitDoubledSingles skip=+''+ | |
580 | |
581 syn match autoitVarSelector "\$" contained display | |
582 syn match autoitVariable "$\w\+" contains=autoitVarSelector | |
583 | |
584 " options - must be defined after autoitStrings | |
585 syn match autoitOption "\([\"\']\)CaretCoordMode\1" | |
586 syn match autoitOption "\([\"\']\)ColorMode\1" | |
587 syn match autoitOption "\([\"\']\)ExpandEnvStrings\1" | |
588 syn match autoitOption "\([\"\']\)ExpandVarStrings\1" | |
589 syn match autoitOption "\([\"\']\)FtpBinaryMode\1" | |
590 syn match autoitOption "\([\"\']\)GUICloseOnEsc\1" | |
591 syn match autoitOption "\([\"\']\)GUICoordMode\1" | |
592 syn match autoitOption "\([\"\']\)GUIDataSeparatorChar\1" | |
593 syn match autoitOption "\([\"\']\)GUIOnEventMode\1" | |
594 syn match autoitOption "\([\"\']\)GUIResizeMode\1" | |
595 syn match autoitOption "\([\"\']\)GUIEventCompatibilityMode\1" | |
596 syn match autoitOption "\([\"\']\)MouseClickDelay\1" | |
597 syn match autoitOption "\([\"\']\)MouseClickDownDelay\1" | |
598 syn match autoitOption "\([\"\']\)MouseClickDragDelay\1" | |
599 syn match autoitOption "\([\"\']\)MouseCoordMode\1" | |
600 syn match autoitOption "\([\"\']\)MustDeclareVars\1" | |
601 syn match autoitOption "\([\"\']\)OnExitFunc\1" | |
602 syn match autoitOption "\([\"\']\)PixelCoordMode\1" | |
603 syn match autoitOption "\([\"\']\)RunErrorsFatal\1" | |
604 syn match autoitOption "\([\"\']\)SendAttachMode\1" | |
605 syn match autoitOption "\([\"\']\)SendCapslockMode\1" | |
606 syn match autoitOption "\([\"\']\)SendKeyDelay\1" | |
607 syn match autoitOption "\([\"\']\)SendKeyDownDelay\1" | |
608 syn match autoitOption "\([\"\']\)TCPTimeout\1" | |
609 syn match autoitOption "\([\"\']\)TrayAutoPause\1" | |
610 syn match autoitOption "\([\"\']\)TrayIconDebug\1" | |
611 syn match autoitOption "\([\"\']\)TrayIconHide\1" | |
612 syn match autoitOption "\([\"\']\)TrayMenuMode\1" | |
613 syn match autoitOption "\([\"\']\)TrayOnEventMode\1" | |
614 syn match autoitOption "\([\"\']\)WinDetectHiddenText\1" | |
615 syn match autoitOption "\([\"\']\)WinSearchChildren\1" | |
616 syn match autoitOption "\([\"\']\)WinTextMatchMode\1" | |
617 syn match autoitOption "\([\"\']\)WinTitleMatchMode\1" | |
618 syn match autoitOption "\([\"\']\)WinWaitDelay\1" | |
619 | |
620 " styles - must be defined after autoitVariable | |
621 " common | |
622 syn match autoitStyle "\$WS_BORDER" | |
623 syn match autoitStyle "\$WS_POPUP" | |
624 syn match autoitStyle "\$WS_CAPTION" | |
625 syn match autoitStyle "\$WS_CLIPCHILDREN" | |
626 syn match autoitStyle "\$WS_CLIPSIBLINGS" | |
627 syn match autoitStyle "\$WS_DISABLED" | |
628 syn match autoitStyle "\$WS_DLGFRAME" | |
629 syn match autoitStyle "\$WS_HSCROLL" | |
630 syn match autoitStyle "\$WS_MAXIMIZE" | |
631 syn match autoitStyle "\$WS_MAXIMIZEBOX" | |
632 syn match autoitStyle "\$WS_MINIMIZE" | |
633 syn match autoitStyle "\$WS_MINIMIZEBOX" | |
634 syn match autoitStyle "\$WS_OVERLAPPED" | |
635 syn match autoitStyle "\$WS_OVERLAPPEDWINDOW" | |
636 syn match autoitStyle "\$WS_POPUPWINDOW" | |
637 syn match autoitStyle "\$WS_SIZEBOX" | |
638 syn match autoitStyle "\$WS_SYSMENU" | |
639 syn match autoitStyle "\$WS_THICKFRAME" | |
640 syn match autoitStyle "\$WS_VSCROLL" | |
641 syn match autoitStyle "\$WS_VISIBLE" | |
642 syn match autoitStyle "\$WS_CHILD" | |
643 syn match autoitStyle "\$WS_GROUP" | |
644 syn match autoitStyle "\$WS_TABSTOP" | |
645 syn match autoitStyle "\$DS_MODALFRAME" | |
646 syn match autoitStyle "\$DS_SETFOREGROUND" | |
647 syn match autoitStyle "\$DS_CONTEXTHELP" | |
648 " common extended | |
649 syn match autoitStyle "\$WS_EX_ACCEPTFILES" | |
650 syn match autoitStyle "\$WS_EX_APPWINDOW" | |
651 syn match autoitStyle "\$WS_EX_CLIENTEDGE" | |
652 syn match autoitStyle "\$WS_EX_CONTEXTHELP" | |
653 syn match autoitStyle "\$WS_EX_DLGMODALFRAME" | |
654 syn match autoitStyle "\$WS_EX_MDICHILD" | |
655 syn match autoitStyle "\$WS_EX_OVERLAPPEDWINDOW" | |
656 syn match autoitStyle "\$WS_EX_STATICEDGE" | |
657 syn match autoitStyle "\$WS_EX_TOPMOST" | |
658 syn match autoitStyle "\$WS_EX_TRANSPARENT" | |
659 syn match autoitStyle "\$WS_EX_TOOLWINDOW" | |
660 syn match autoitStyle "\$WS_EX_WINDOWEDGE" | |
661 syn match autoitStyle "\$WS_EX_LAYERED" | |
662 syn match autoitStyle "\$GUI_WS_EX_PARENTDRAG" | |
663 " checkbox | |
664 syn match autoitStyle "\$BS_3STATE" | |
665 syn match autoitStyle "\$BS_AUTO3STATE" | |
666 syn match autoitStyle "\$BS_AUTOCHECKBOX" | |
667 syn match autoitStyle "\$BS_CHECKBOX" | |
668 syn match autoitStyle "\$BS_LEFT" | |
669 syn match autoitStyle "\$BS_PUSHLIKE" | |
670 syn match autoitStyle "\$BS_RIGHT" | |
671 syn match autoitStyle "\$BS_RIGHTBUTTON" | |
672 syn match autoitStyle "\$BS_GROUPBOX" | |
673 syn match autoitStyle "\$BS_AUTORADIOBUTTON" | |
674 " push button | |
675 syn match autoitStyle "\$BS_BOTTOM" | |
676 syn match autoitStyle "\$BS_CENTER" | |
677 syn match autoitStyle "\$BS_DEFPUSHBUTTON" | |
678 syn match autoitStyle "\$BS_MULTILINE" | |
679 syn match autoitStyle "\$BS_TOP" | |
680 syn match autoitStyle "\$BS_VCENTER" | |
681 syn match autoitStyle "\$BS_ICON" | |
682 syn match autoitStyle "\$BS_BITMAP" | |
683 syn match autoitStyle "\$BS_FLAT" | |
684 " combo | |
685 syn match autoitStyle "\$CBS_AUTOHSCROLL" | |
686 syn match autoitStyle "\$CBS_DISABLENOSCROLL" | |
687 syn match autoitStyle "\$CBS_DROPDOWN" | |
688 syn match autoitStyle "\$CBS_DROPDOWNLIST" | |
689 syn match autoitStyle "\$CBS_LOWERCASE" | |
690 syn match autoitStyle "\$CBS_NOINTEGRALHEIGHT" | |
691 syn match autoitStyle "\$CBS_OEMCONVERT" | |
692 syn match autoitStyle "\$CBS_SIMPLE" | |
693 syn match autoitStyle "\$CBS_SORT" | |
694 syn match autoitStyle "\$CBS_UPPERCASE" | |
695 " list | |
696 syn match autoitStyle "\$LBS_DISABLENOSCROLL" | |
697 syn match autoitStyle "\$LBS_NOINTEGRALHEIGHT" | |
698 syn match autoitStyle "\$LBS_NOSEL" | |
699 syn match autoitStyle "\$LBS_NOTIFY" | |
700 syn match autoitStyle "\$LBS_SORT" | |
701 syn match autoitStyle "\$LBS_STANDARD" | |
702 syn match autoitStyle "\$LBS_USETABSTOPS" | |
703 " edit/input | |
704 syn match autoitStyle "\$ES_AUTOHSCROLL" | |
705 syn match autoitStyle "\$ES_AUTOVSCROLL" | |
706 syn match autoitStyle "\$ES_CENTER" | |
707 syn match autoitStyle "\$ES_LOWERCASE" | |
708 syn match autoitStyle "\$ES_NOHIDESEL" | |
709 syn match autoitStyle "\$ES_NUMBER" | |
710 syn match autoitStyle "\$ES_OEMCONVERT" | |
711 syn match autoitStyle "\$ES_MULTILINE" | |
712 syn match autoitStyle "\$ES_PASSWORD" | |
713 syn match autoitStyle "\$ES_READONLY" | |
714 syn match autoitStyle "\$ES_RIGHT" | |
715 syn match autoitStyle "\$ES_UPPERCASE" | |
716 syn match autoitStyle "\$ES_WANTRETURN" | |
717 " progress bar | |
718 syn match autoitStyle "\$PBS_SMOOTH" | |
719 syn match autoitStyle "\$PBS_VERTICAL" | |
720 " up-down | |
721 syn match autoitStyle "\$UDS_ALIGNLEFT" | |
722 syn match autoitStyle "\$UDS_ALIGNRIGHT" | |
723 syn match autoitStyle "\$UDS_ARROWKEYS" | |
724 syn match autoitStyle "\$UDS_HORZ" | |
725 syn match autoitStyle "\$UDS_NOTHOUSANDS" | |
726 syn match autoitStyle "\$UDS_WRAP" | |
727 " label/static | |
728 syn match autoitStyle "\$SS_BLACKFRAME" | |
729 syn match autoitStyle "\$SS_BLACKRECT" | |
730 syn match autoitStyle "\$SS_CENTER" | |
731 syn match autoitStyle "\$SS_CENTERIMAGE" | |
732 syn match autoitStyle "\$SS_ETCHEDFRAME" | |
733 syn match autoitStyle "\$SS_ETCHEDHORZ" | |
734 syn match autoitStyle "\$SS_ETCHEDVERT" | |
735 syn match autoitStyle "\$SS_GRAYFRAME" | |
736 syn match autoitStyle "\$SS_GRAYRECT" | |
737 syn match autoitStyle "\$SS_LEFT" | |
738 syn match autoitStyle "\$SS_LEFTNOWORDWRAP" | |
739 syn match autoitStyle "\$SS_NOPREFIX" | |
740 syn match autoitStyle "\$SS_NOTIFY" | |
741 syn match autoitStyle "\$SS_RIGHT" | |
742 syn match autoitStyle "\$SS_RIGHTJUST" | |
743 syn match autoitStyle "\$SS_SIMPLE" | |
744 syn match autoitStyle "\$SS_SUNKEN" | |
745 syn match autoitStyle "\$SS_WHITEFRAME" | |
746 syn match autoitStyle "\$SS_WHITERECT" | |
747 " tab | |
748 syn match autoitStyle "\$TCS_SCROLLOPPOSITE" | |
749 syn match autoitStyle "\$TCS_BOTTOM" | |
750 syn match autoitStyle "\$TCS_RIGHT" | |
751 syn match autoitStyle "\$TCS_MULTISELECT" | |
752 syn match autoitStyle "\$TCS_FLATBUTTONS" | |
753 syn match autoitStyle "\$TCS_FORCEICONLEFT" | |
754 syn match autoitStyle "\$TCS_FORCELABELLEFT" | |
755 syn match autoitStyle "\$TCS_HOTTRACK" | |
756 syn match autoitStyle "\$TCS_VERTICAL" | |
757 syn match autoitStyle "\$TCS_TABS" | |
758 syn match autoitStyle "\$TCS_BUTTONS" | |
759 syn match autoitStyle "\$TCS_SINGLELINE" | |
760 syn match autoitStyle "\$TCS_MULTILINE" | |
761 syn match autoitStyle "\$TCS_RIGHTJUSTIFY" | |
762 syn match autoitStyle "\$TCS_FIXEDWIDTH" | |
763 syn match autoitStyle "\$TCS_RAGGEDRIGHT" | |
764 syn match autoitStyle "\$TCS_FOCUSONBUTTONDOWN" | |
765 syn match autoitStyle "\$TCS_OWNERDRAWFIXED" | |
766 syn match autoitStyle "\$TCS_TOOLTIPS" | |
767 syn match autoitStyle "\$TCS_FOCUSNEVER" | |
768 " avi clip | |
769 syn match autoitStyle "\$ACS_AUTOPLAY" | |
770 syn match autoitStyle "\$ACS_CENTER" | |
771 syn match autoitStyle "\$ACS_TRANSPARENT" | |
772 syn match autoitStyle "\$ACS_NONTRANSPARENT" | |
773 " date | |
774 syn match autoitStyle "\$DTS_UPDOWN" | |
775 syn match autoitStyle "\$DTS_SHOWNONE" | |
776 syn match autoitStyle "\$DTS_LONGDATEFORMAT" | |
777 syn match autoitStyle "\$DTS_TIMEFORMAT" | |
778 syn match autoitStyle "\$DTS_RIGHTALIGN" | |
779 syn match autoitStyle "\$DTS_SHORTDATEFORMAT" | |
780 " monthcal | |
781 syn match autoitStyle "\$MCS_NOTODAY" | |
782 syn match autoitStyle "\$MCS_NOTODAYCIRCLE" | |
783 syn match autoitStyle "\$MCS_WEEKNUMBERS" | |
784 " treeview | |
785 syn match autoitStyle "\$TVS_HASBUTTONS" | |
786 syn match autoitStyle "\$TVS_HASLINES" | |
787 syn match autoitStyle "\$TVS_LINESATROOT" | |
788 syn match autoitStyle "\$TVS_DISABLEDRAGDROP" | |
789 syn match autoitStyle "\$TVS_SHOWSELALWAYS" | |
790 syn match autoitStyle "\$TVS_RTLREADING" | |
791 syn match autoitStyle "\$TVS_NOTOOLTIPS" | |
792 syn match autoitStyle "\$TVS_CHECKBOXES" | |
793 syn match autoitStyle "\$TVS_TRACKSELECT" | |
794 syn match autoitStyle "\$TVS_SINGLEEXPAND" | |
795 syn match autoitStyle "\$TVS_FULLROWSELECT" | |
796 syn match autoitStyle "\$TVS_NOSCROLL" | |
797 syn match autoitStyle "\$TVS_NONEVENHEIGHT" | |
798 " slider | |
799 syn match autoitStyle "\$TBS_AUTOTICKS" | |
800 syn match autoitStyle "\$TBS_BOTH" | |
801 syn match autoitStyle "\$TBS_BOTTOM" | |
802 syn match autoitStyle "\$TBS_HORZ" | |
803 syn match autoitStyle "\$TBS_VERT" | |
804 syn match autoitStyle "\$TBS_NOTHUMB" | |
805 syn match autoitStyle "\$TBS_NOTICKS" | |
806 syn match autoitStyle "\$TBS_LEFT" | |
807 syn match autoitStyle "\$TBS_RIGHT" | |
808 syn match autoitStyle "\$TBS_TOP" | |
809 " listview | |
810 syn match autoitStyle "\$LVS_ICON" | |
811 syn match autoitStyle "\$LVS_REPORT" | |
812 syn match autoitStyle "\$LVS_SMALLICON" | |
813 syn match autoitStyle "\$LVS_LIST" | |
814 syn match autoitStyle "\$LVS_EDITLABELS" | |
815 syn match autoitStyle "\$LVS_NOCOLUMNHEADER" | |
816 syn match autoitStyle "\$LVS_NOSORTHEADER" | |
817 syn match autoitStyle "\$LVS_SINGLESEL" | |
818 syn match autoitStyle "\$LVS_SHOWSELALWAYS" | |
819 syn match autoitStyle "\$LVS_SORTASCENDING" | |
820 syn match autoitStyle "\$LVS_SORTDESCENDING" | |
821 " listview extended | |
822 syn match autoitStyle "\$LVS_EX_FULLROWSELECT" | |
823 syn match autoitStyle "\$LVS_EX_GRIDLINES" | |
824 syn match autoitStyle "\$LVS_EX_HEADERDRAGDROP" | |
825 syn match autoitStyle "\$LVS_EX_TRACKSELECT" | |
826 syn match autoitStyle "\$LVS_EX_CHECKBOXES" | |
827 syn match autoitStyle "\$LVS_EX_BORDERSELECT" | |
828 syn match autoitStyle "\$LVS_EX_DOUBLEBUFFER" | |
829 syn match autoitStyle "\$LVS_EX_FLATSB" | |
830 syn match autoitStyle "\$LVS_EX_MULTIWORKAREAS" | |
831 syn match autoitStyle "\$LVS_EX_SNAPTOGRID" | |
832 syn match autoitStyle "\$LVS_EX_SUBITEMIMAGES" | |
833 | |
834 " constants - must be defined after autoitVariable - excludes styles | |
835 " constants - autoit options | |
836 syn match autoitConst "\$OPT_COORDSRELATIVE" | |
837 syn match autoitConst "\$OPT_COORDSABSOLUTE" | |
838 syn match autoitConst "\$OPT_COORDSCLIENT" | |
839 syn match autoitConst "\$OPT_ERRORSILENT" | |
840 syn match autoitConst "\$OPT_ERRORFATAL" | |
841 syn match autoitConst "\$OPT_CAPSNOSTORE" | |
842 syn match autoitConst "\$OPT_CAPSSTORE" | |
843 syn match autoitConst "\$OPT_MATCHSTART" | |
844 syn match autoitConst "\$OPT_MATCHANY" | |
845 syn match autoitConst "\$OPT_MATCHEXACT" | |
846 syn match autoitConst "\$OPT_MATCHADVANCED" | |
847 " constants - file | |
848 syn match autoitConst "\$FC_NOOVERWRITE" | |
849 syn match autoitConst "\$FC_OVERWRITE" | |
850 syn match autoitConst "\$FT_MODIFIED" | |
851 syn match autoitConst "\$FT_CREATED" | |
852 syn match autoitConst "\$FT_ACCESSED" | |
853 syn match autoitConst "\$FO_READ" | |
854 syn match autoitConst "\$FO_APPEND" | |
855 syn match autoitConst "\$FO_OVERWRITE" | |
856 syn match autoitConst "\$EOF" | |
857 syn match autoitConst "\$FD_FILEMUSTEXIST" | |
858 syn match autoitConst "\$FD_PATHMUSTEXIST" | |
859 syn match autoitConst "\$FD_MULTISELECT" | |
860 syn match autoitConst "\$FD_PROMPTCREATENEW" | |
861 syn match autoitConst "\$FD_PROMPTOVERWRITE" | |
862 " constants - keyboard | |
863 syn match autoitConst "\$KB_SENDSPECIAL" | |
864 syn match autoitConst "\$KB_SENDRAW" | |
865 syn match autoitConst "\$KB_CAPSOFF" | |
866 syn match autoitConst "\$KB_CAPSON" | |
867 " constants - message box | |
868 syn match autoitConst "\$MB_OK" | |
869 syn match autoitConst "\$MB_OKCANCEL" | |
870 syn match autoitConst "\$MB_ABORTRETRYIGNORE" | |
871 syn match autoitConst "\$MB_YESNOCANCEL" | |
872 syn match autoitConst "\$MB_YESNO" | |
873 syn match autoitConst "\$MB_RETRYCANCEL" | |
874 syn match autoitConst "\$MB_ICONHAND" | |
875 syn match autoitConst "\$MB_ICONQUESTION" | |
876 syn match autoitConst "\$MB_ICONEXCLAMATION" | |
877 syn match autoitConst "\$MB_ICONASTERISK" | |
878 syn match autoitConst "\$MB_DEFBUTTON1" | |
879 syn match autoitConst "\$MB_DEFBUTTON2" | |
880 syn match autoitConst "\$MB_DEFBUTTON3" | |
881 syn match autoitConst "\$MB_APPLMODAL" | |
882 syn match autoitConst "\$MB_SYSTEMMODAL" | |
883 syn match autoitConst "\$MB_TASKMODAL" | |
884 syn match autoitConst "\$MB_TOPMOST" | |
885 syn match autoitConst "\$MB_RIGHTJUSTIFIED" | |
886 syn match autoitConst "\$IDTIMEOUT" | |
887 syn match autoitConst "\$IDOK" | |
888 syn match autoitConst "\$IDCANCEL" | |
889 syn match autoitConst "\$IDABORT" | |
890 syn match autoitConst "\$IDRETRY" | |
891 syn match autoitConst "\$IDIGNORE" | |
892 syn match autoitConst "\$IDYES" | |
893 syn match autoitConst "\$IDNO" | |
894 syn match autoitConst "\$IDTRYAGAIN" | |
895 syn match autoitConst "\$IDCONTINUE" | |
896 " constants - progress and splash | |
897 syn match autoitConst "\$DLG_NOTITLE" | |
898 syn match autoitConst "\$DLG_NOTONTOP" | |
899 syn match autoitConst "\$DLG_TEXTLEFT" | |
900 syn match autoitConst "\$DLG_TEXTRIGHT" | |
901 syn match autoitConst "\$DLG_MOVEABLE" | |
902 syn match autoitConst "\$DLG_TEXTVCENTER" | |
903 " constants - tray tip | |
904 syn match autoitConst "\$TIP_ICONNONE" | |
905 syn match autoitConst "\$TIP_ICONASTERISK" | |
906 syn match autoitConst "\$TIP_ICONEXCLAMATION" | |
907 syn match autoitConst "\$TIP_ICONHAND" | |
908 syn match autoitConst "\$TIP_NOSOUND" | |
909 " constants - mouse | |
910 syn match autoitConst "\$IDC_UNKNOWN" | |
911 syn match autoitConst "\$IDC_APPSTARTING" | |
912 syn match autoitConst "\$IDC_ARROW" | |
913 syn match autoitConst "\$IDC_CROSS" | |
914 syn match autoitConst "\$IDC_HELP" | |
915 syn match autoitConst "\$IDC_IBEAM" | |
916 syn match autoitConst "\$IDC_ICON" | |
917 syn match autoitConst "\$IDC_NO" | |
918 syn match autoitConst "\$IDC_SIZE" | |
919 syn match autoitConst "\$IDC_SIZEALL" | |
920 syn match autoitConst "\$IDC_SIZENESW" | |
921 syn match autoitConst "\$IDC_SIZENS" | |
922 syn match autoitConst "\$IDC_SIZENWSE" | |
923 syn match autoitConst "\$IDC_SIZEWE" | |
924 syn match autoitConst "\$IDC_UPARROW" | |
925 syn match autoitConst "\$IDC_WAIT" | |
926 " constants - process | |
927 syn match autoitConst "\$SD_LOGOFF" | |
928 syn match autoitConst "\$SD_SHUTDOWN" | |
929 syn match autoitConst "\$SD_REBOOT" | |
930 syn match autoitConst "\$SD_FORCE" | |
931 syn match autoitConst "\$SD_POWERDOWN" | |
932 " constants - string | |
933 syn match autoitConst "\$STR_NOCASESENSE" | |
934 syn match autoitConst "\$STR_CASESENSE" | |
935 syn match autoitConst "\STR_STRIPLEADING" | |
936 syn match autoitConst "\$STR_STRIPTRAILING" | |
937 syn match autoitConst "\$STR_STRIPSPACES" | |
938 syn match autoitConst "\$STR_STRIPALL" | |
939 " constants - tray | |
940 syn match autoitConst "\$TRAY_ITEM_EXIT" | |
941 syn match autoitConst "\$TRAY_ITEM_PAUSE" | |
942 syn match autoitConst "\$TRAY_ITEM_FIRST" | |
943 syn match autoitConst "\$TRAY_CHECKED" | |
944 syn match autoitConst "\$TRAY_UNCHECKED" | |
945 syn match autoitConst "\$TRAY_ENABLE" | |
946 syn match autoitConst "\$TRAY_DISABLE" | |
947 syn match autoitConst "\$TRAY_FOCUS" | |
948 syn match autoitConst "\$TRAY_DEFAULT" | |
949 syn match autoitConst "\$TRAY_EVENT_SHOWICON" | |
950 syn match autoitConst "\$TRAY_EVENT_HIDEICON" | |
951 syn match autoitConst "\$TRAY_EVENT_FLASHICON" | |
952 syn match autoitConst "\$TRAY_EVENT_NOFLASHICON" | |
953 syn match autoitConst "\$TRAY_EVENT_PRIMARYDOWN" | |
954 syn match autoitConst "\$TRAY_EVENT_PRIMARYUP" | |
955 syn match autoitConst "\$TRAY_EVENT_SECONDARYDOWN" | |
956 syn match autoitConst "\$TRAY_EVENT_SECONDARYUP" | |
957 syn match autoitConst "\$TRAY_EVENT_MOUSEOVER" | |
958 syn match autoitConst "\$TRAY_EVENT_MOUSEOUT" | |
959 syn match autoitConst "\$TRAY_EVENT_PRIMARYDOUBLE" | |
960 syn match autoitConst "\$TRAY_EVENT_SECONDARYDOUBLE" | |
961 " constants - stdio | |
962 syn match autoitConst "\$STDIN_CHILD" | |
963 syn match autoitConst "\$STDOUT_CHILD" | |
964 syn match autoitConst "\$STDERR_CHILD" | |
965 " constants - color | |
966 syn match autoitConst "\$COLOR_BLACK" | |
967 syn match autoitConst "\$COLOR_SILVER" | |
968 syn match autoitConst "\$COLOR_GRAY" | |
969 syn match autoitConst "\$COLOR_WHITE" | |
970 syn match autoitConst "\$COLOR_MAROON" | |
971 syn match autoitConst "\$COLOR_RED" | |
972 syn match autoitConst "\$COLOR_PURPLE" | |
973 syn match autoitConst "\$COLOR_FUCHSIA" | |
974 syn match autoitConst "\$COLOR_GREEN" | |
975 syn match autoitConst "\$COLOR_LIME" | |
976 syn match autoitConst "\$COLOR_OLIVE" | |
977 syn match autoitConst "\$COLOR_YELLOW" | |
978 syn match autoitConst "\$COLOR_NAVY" | |
979 syn match autoitConst "\$COLOR_BLUE" | |
980 syn match autoitConst "\$COLOR_TEAL" | |
981 syn match autoitConst "\$COLOR_AQUA" | |
982 " constants - reg value type | |
983 syn match autoitConst "\$REG_NONE" | |
984 syn match autoitConst "\$REG_SZ" | |
985 syn match autoitConst "\$REG_EXPAND_SZ" | |
986 syn match autoitConst "\$REG_BINARY" | |
987 syn match autoitConst "\$REG_DWORD" | |
988 syn match autoitConst "\$REG_DWORD_BIG_ENDIAN" | |
989 syn match autoitConst "\$REG_LINK" | |
990 syn match autoitConst "\$REG_MULTI_SZ" | |
991 syn match autoitConst "\$REG_RESOURCE_LIST" | |
992 syn match autoitConst "\$REG_FULL_RESOURCE_DESCRIPTOR" | |
993 syn match autoitConst "\$REG_RESOURCE_REQUIREMENTS_LIST" | |
994 " guiconstants - events and messages | |
995 syn match autoitConst "\$GUI_EVENT_CLOSE" | |
996 syn match autoitConst "\$GUI_EVENT_MINIMIZE" | |
997 syn match autoitConst "\$GUI_EVENT_RESTORE" | |
998 syn match autoitConst "\$GUI_EVENT_MAXIMIZE" | |
999 syn match autoitConst "\$GUI_EVENT_PRIMARYDOWN" | |
1000 syn match autoitConst "\$GUI_EVENT_PRIMARYUP" | |
1001 syn match autoitConst "\$GUI_EVENT_SECONDARYDOWN" | |
1002 syn match autoitConst "\$GUI_EVENT_SECONDARYUP" | |
1003 syn match autoitConst "\$GUI_EVENT_MOUSEMOVE" | |
1004 syn match autoitConst "\$GUI_EVENT_RESIZED" | |
1005 syn match autoitConst "\$GUI_EVENT_DROPPED" | |
1006 syn match autoitConst "\$GUI_RUNDEFMSG" | |
1007 " guiconstants - state | |
1008 syn match autoitConst "\$GUI_AVISTOP" | |
1009 syn match autoitConst "\$GUI_AVISTART" | |
1010 syn match autoitConst "\$GUI_AVICLOSE" | |
1011 syn match autoitConst "\$GUI_CHECKED" | |
1012 syn match autoitConst "\$GUI_INDETERMINATE" | |
1013 syn match autoitConst "\$GUI_UNCHECKED" | |
1014 syn match autoitConst "\$GUI_DROPACCEPTED" | |
1015 syn match autoitConst "\$GUI_DROPNOTACCEPTED" | |
1016 syn match autoitConst "\$GUI_ACCEPTFILES" | |
1017 syn match autoitConst "\$GUI_SHOW" | |
1018 syn match autoitConst "\$GUI_HIDE" | |
1019 syn match autoitConst "\$GUI_ENABLE" | |
1020 syn match autoitConst "\$GUI_DISABLE" | |
1021 syn match autoitConst "\$GUI_FOCUS" | |
1022 syn match autoitConst "\$GUI_NOFOCUS" | |
1023 syn match autoitConst "\$GUI_DEFBUTTON" | |
1024 syn match autoitConst "\$GUI_EXPAND" | |
1025 syn match autoitConst "\$GUI_ONTOP" | |
1026 " guiconstants - font | |
1027 syn match autoitConst "\$GUI_FONTITALIC" | |
1028 syn match autoitConst "\$GUI_FONTUNDER" | |
1029 syn match autoitConst "\$GUI_FONTSTRIKE" | |
1030 " guiconstants - resizing | |
1031 syn match autoitConst "\$GUI_DOCKAUTO" | |
1032 syn match autoitConst "\$GUI_DOCKLEFT" | |
1033 syn match autoitConst "\$GUI_DOCKRIGHT" | |
1034 syn match autoitConst "\$GUI_DOCKHCENTER" | |
1035 syn match autoitConst "\$GUI_DOCKTOP" | |
1036 syn match autoitConst "\$GUI_DOCKBOTTOM" | |
1037 syn match autoitConst "\$GUI_DOCKVCENTER" | |
1038 syn match autoitConst "\$GUI_DOCKWIDTH" | |
1039 syn match autoitConst "\$GUI_DOCKHEIGHT" | |
1040 syn match autoitConst "\$GUI_DOCKSIZE" | |
1041 syn match autoitConst "\$GUI_DOCKMENUBAR" | |
1042 syn match autoitConst "\$GUI_DOCKSTATEBAR" | |
1043 syn match autoitConst "\$GUI_DOCKALL" | |
1044 syn match autoitConst "\$GUI_DOCKBORDERS" | |
1045 " guiconstants - graphic | |
1046 syn match autoitConst "\$GUI_GR_CLOSE" | |
1047 syn match autoitConst "\$GUI_GR_LINE" | |
1048 syn match autoitConst "\$GUI_GR_BEZIER" | |
1049 syn match autoitConst "\$GUI_GR_MOVE" | |
1050 syn match autoitConst "\$GUI_GR_COLOR" | |
1051 syn match autoitConst "\$GUI_GR_RECT" | |
1052 syn match autoitConst "\$GUI_GR_ELLIPSE" | |
1053 syn match autoitConst "\$GUI_GR_PIE" | |
1054 syn match autoitConst "\$GUI_GR_DOT" | |
1055 syn match autoitConst "\$GUI_GR_PIXEL" | |
1056 syn match autoitConst "\$GUI_GR_HINT" | |
1057 syn match autoitConst "\$GUI_GR_REFRESH" | |
1058 syn match autoitConst "\$GUI_GR_PENSIZE" | |
1059 syn match autoitConst "\$GUI_GR_NOBKCOLOR" | |
1060 " guiconstants - control default styles | |
1061 syn match autoitConst "\$GUI_SS_DEFAULT_AVI" | |
1062 syn match autoitConst "\$GUI_SS_DEFAULT_BUTTON" | |
1063 syn match autoitConst "\$GUI_SS_DEFAULT_CHECKBOX" | |
1064 syn match autoitConst "\$GUI_SS_DEFAULT_COMBO" | |
1065 syn match autoitConst "\$GUI_SS_DEFAULT_DATE" | |
1066 syn match autoitConst "\$GUI_SS_DEFAULT_EDIT" | |
1067 syn match autoitConst "\$GUI_SS_DEFAULT_GRAPHIC" | |
1068 syn match autoitConst "\$GUI_SS_DEFAULT_GROUP" | |
1069 syn match autoitConst "\$GUI_SS_DEFAULT_ICON" | |
1070 syn match autoitConst "\$GUI_SS_DEFAULT_INPUT" | |
1071 syn match autoitConst "\$GUI_SS_DEFAULT_LABEL" | |
1072 syn match autoitConst "\$GUI_SS_DEFAULT_LIST" | |
1073 syn match autoitConst "\$GUI_SS_DEFAULT_LISTVIEW" | |
1074 syn match autoitConst "\$GUI_SS_DEFAULT_MONTHCAL" | |
1075 syn match autoitConst "\$GUI_SS_DEFAULT_PIC" | |
1076 syn match autoitConst "\$GUI_SS_DEFAULT_PROGRESS" | |
1077 syn match autoitConst "\$GUI_SS_DEFAULT_RADIO" | |
1078 syn match autoitConst "\$GUI_SS_DEFAULT_SLIDER" | |
1079 syn match autoitConst "\$GUI_SS_DEFAULT_TAB" | |
1080 syn match autoitConst "\$GUI_SS_DEFAULT_TREEVIEW" | |
1081 syn match autoitConst "\$GUI_SS_DEFAULT_UPDOWN" | |
1082 syn match autoitConst "\$GUI_SS_DEFAULT_GUI" | |
1083 " guiconstants - background color special flags | |
1084 syn match autoitConst "\$GUI_BKCOLOR_DEFAULT" | |
1085 syn match autoitConst "\$GUI_BKCOLOR_LV_ALTERNATE" | |
1086 syn match autoitConst "\$GUI_BKCOLOR_TRANSPARENT" | |
1087 | |
1088 " registry constants | |
1089 syn match autoitConst "\([\"\']\)REG_BINARY\1" | |
1090 syn match autoitConst "\([\"\']\)REG_SZ\1" | |
1091 syn match autoitConst "\([\"\']\)REG_MULTI_SZ\1" | |
1092 syn match autoitConst "\([\"\']\)REG_EXPAND_SZ\1" | |
1093 syn match autoitConst "\([\"\']\)REG_DWORD\1" | |
1094 | |
1095 " Define the default highlighting. | |
1096 " Unused colors: Underlined, Ignore, Error, Todo | |
1097 hi def link autoitFunction Statement " yellow/yellow | |
1098 hi def link autoitKeyword Statement | |
1099 hi def link autoitOperator Operator | |
1100 hi def link autoitVarSelector Operator | |
1101 hi def link autoitComment Comment " cyan/blue | |
1102 hi def link autoitParen Comment | |
1103 hi def link autoitComma Comment | |
1104 hi def link autoitBracket Comment | |
1105 hi def link autoitNumber Constant " magenta/red | |
1106 hi def link autoitString Constant | |
1107 hi def link autoitQuote Constant | |
1108 hi def link autoitIncluded Constant | |
1109 hi def link autoitCont Special " red/orange | |
1110 hi def link autoitDoubledSingles Special | |
1111 hi def link autoitDoubledDoubles Special | |
1112 hi def link autoitCommDelimiter PreProc " blue/magenta | |
1113 hi def link autoitInclude PreProc | |
1114 hi def link autoitVariable Identifier " cyan/cyan | |
1115 hi def link autoitBuiltin Type " green/green | |
1116 hi def link autoitOption Type | |
1117 hi def link autoitStyle Type | |
1118 hi def link autoitConst Type | |
1119 hi def link autoitSend Type | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
1120 |
1121 | 1121 syn sync minlines=50 |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
1122 |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
1123 let &cpo = s:keepcpo |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
1121
diff
changeset
|
1124 unlet s:keepcpo |