/usr/share/highlight/langDefs/autoit.lang is in highlight-common 3.8-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | -- Language definition generated by lang2to3
Description="AutoIt"
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"},
},
{ 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]],}
--FIXME number of delimiters nok
},
{ Block=true,
Nested=false,
Delimiter= { [[\#cs]],[[\#ce]],}
--FIXME number of delimiters nok
}
}
PreProcessor={
Prefix=[[#(?!cs|ce|comments\-start|comments\-end).*$]],
Group=0
}
Operators=[[\(|\)|\[|\]|\{|\}|\,|\.|\:|\&|\<|\>|\!|\=|\/|\*|\%|\+|\-|\~]]
|