autoit.vim 47 KB

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