forked from andre-simon/highlight
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathautoit.lang
110 lines (101 loc) · 5.6 KB
/
autoit.lang
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
Description="AutoIt"
Categories = {"source", "script"}
Keywords={
{ Id=1,
List={"continueloop", "dim", "global", "local", "const", "do", "until",
"exit", "exitloop", "for", "next", "func", "return", "endfunc", "if", "then",
"elseif", "else", "endif", "redim", "select", "case", "endselect", "while",
"wend", "to"},
},
{ Id=2,
List={"abs", "acos", "adlibdisable", "adlibenable", "asc", "asin", "assign",
"atan", "autoitsetoption", "autoitwingettitle", "autoitwinsettitle", "bitand",
"bitnot", "bitor", "bitshift", "bitxor", "blockinput", "break", "call",
"cdtray", "chr", "clipget", "clipput", "consolewrite", "controlclick",
"controlcommand", "controldisable", "controlenable", "controlfocus",
"controlgetfocus", "controlgethandle", "controlgetpos", "controlgettext",
"controlhide", "controllistview", "controlmove", "controlsend",
"controlsettext", "controlshow", "cos", "dec", "dircopy", "dircreate",
"dirgetsize", "dirmove", "dirremove", "dllcall", "dllclose", "dllopen",
"drivegetdrive", "drivegetfilesystem", "drivegetlabel", "drivegetserial",
"drivegettype", "drivemapadd", "drivemapdel", "drivemapget", "drivesetlabel",
"drivespacefree", "drivespacetotal", "drivestatus", "envget", "envset",
"envupdate", "eval", "exp", "filechangedir", "fileclose", "filecopy",
"filecreateshortcut", "filedelete", "fileexists", "filefindfirstfile",
"filefindnextfile", "filegetattrib", "filegetlongname", "filegetshortcut",
"filegetshortname", "filegetsize", "filegettime", "filegetversion",
"fileinstall", "filemove", "fileopen", "fileopendialog", "fileread",
"filereadline", "filerecycle", "filerecycleempty", "filesavedialog",
"fileselectfolder", "filesetattrib", "filesettime", "filewrite",
"filewriteline", "ftpsetproxy", "guicreate", "guictrlcreateavi",
"guictrlcreatebutton", "guictrlcreatecheckbox", "guictrlcreatecombo",
"guictrlcreatecontextmenu", "guictrlcreatedate", "guictrlcreatedummy",
"guictrlcreateedit", "guictrlcreategroup", "guictrlcreateicon",
"guictrlcreateinput", "guictrlcreatelabel", "guictrlcreatelist",
"guictrlcreatelistview", "guictrlcreatelistviewitem", "guictrlcreatemenu",
"guictrlcreatemenuitem", "guictrlcreatepic", "guictrlcreateprogress",
"guictrlcreateradio", "guictrlcreateslider", "guictrlcreatetab",
"guictrlcreatetabitem", "guictrlcreatetreeview", "guictrlcreatetreeviewitem",
"guictrlcreateupdown", "guictrldelete", "guictrlgetstate", "guictrlread",
"guictrlrecvmsg", "guictrlsendmsg", "guictrlsendtodummy", "guictrlsetbkcolor",
"guictrlsetcolor", "guictrlsetcursor", "guictrlsetdata", "guictrlsetfont",
"guictrlsetimage", "guictrlsetlimit", "guictrlsetonevent", "guictrlsetpos",
"guictrlsetresizing", "guictrlsetstate", "guictrlsetstyle", "guictrlsettip",
"guidelete", "guigetcursorinfo", "guigetmsg", "guisetbkcolor", "guisetcoord",
"guisetcursor", "guisetfont", "guisethelp", "guiseticon", "guisetonevent",
"guisetstate", "guistartgroup", "guiswitch", "hex", "hotkeyset", "httpsetproxy",
"inetget", "inetgetsize", "inidelete", "iniread", "inireadsection",
"inireadsectionnames", "iniwrite", "inputbox", "int", "isadmin", "isarray",
"isdeclared", "isfloat", "isint", "isnumber", "isstring", "log", "memgetstats",
"mod", "mouseclick", "mouseclickdrag", "mousedown", "mousegetcursor",
"mousegetpos", "mousemove", "mouseup", "mousewheel", "msgbox", "number", "ping",
"pixelchecksum", "pixelgetcolor", "pixelsearch", "processclose",
"processexists", "processlist", "processsetpriority", "processwait",
"processwaitclose", "progressoff", "progresson", "progressset", "random",
"regdelete", "regenumkey", "regenumval", "regread", "regwrite", "round", "run",
"runasset", "runwait", "send", "seterror", "setextended", "shutdown", "sin",
"sleep", "soundplay", "soundsetwavevolume", "splashimageon", "splashoff",
"splashtexton", "sqrt", "statusbargettext", "string", "stringaddcr",
"stringformat", "stringinstr", "stringisalnum", "stringisalpha",
"stringisascii", "stringisdigit", "stringisfloat", "stringisint",
"stringislower", "stringisspace", "stringisupper", "stringisxdigit",
"stringleft", "stringlen", "stringlower", "stringmid", "stringreplace",
"stringright", "stringsplit", "stringstripcr", "stringstripws",
"stringtrimleft", "stringtrimright", "stringupper", "tan", "timerdiff",
"timerinit", "tooltip", "traytip", "ubound", "winactivate", "winactive",
"winclose", "winexists", "wingetcaretpos", "wingetclasslist",
"wingetclientsize", "wingethandle", "wingetpos", "wingetprocess", "wingetstate",
"wingettext", "wingettitle", "winkill", "winlist", "winmenuselectitem",
"winminimizeall", "winminimizeallundo", "winmove", "winsetontop", "winsetstate",
"winsettitle", "winsettrans", "winwait", "winwaitactive", "winwaitclose",
"winwaitnotactive"},
},
{ Id=3,
Regex=[[[@$]\w+]],
},
{ Id=4,
Regex=[[(\w+)\s*\(]],
},
}
Strings={
Delimiter=[["|']],
}
IgnoreCase=true
Comments={
{ Block=false,
Delimiter= { [[;]] },
},
{ Block=true,
Nested=false,
Delimiter= { [[\#comments-start]],[[\#comments-end]],}
},
{ Block=true,
Nested=false,
Delimiter= { [[\#cs]],[[\#ce]],}
}
}
PreProcessor={
Prefix=[[#(?!cs|ce|comments\-start|comments\-end).*$]],
Group=0
}
Operators=[[\(|\)|\[|\]|\{|\}|\,|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~]]