/usr/share/highlight/langDefs/applescript.lang is in highlight-common 3.18-3.
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 48 49 50 51 52 53 54 | Description="AppleScript"
Keywords={
{ Id=1,
List={"and", "as", "at", "beginning", "considering", "contain", "contains",
"does", "div", "else", "end", "equal", "error", "every", "exit", "first",
"from", "get", "global", "greater", "if", "ignoring", "in", "is", "last",
"local", "me", "mod", "my", "not", "of", "on", "or", "property", "reopen",
"repeat", "return", "script", "set", "tell", "than", "the", "then", "to",
"transaction", "try", "with", "without", "which", "while", "whose"},
},
{ Id=3,
List={"AppleScript", "access", "activate", "after", "alias", "application",
"ascending", "ASCII", "at", "attached", "before", "box", "button",
"buttons", "case", "cell", "cells", "character", "characters", "choose",
"class", "close", "column", "columns", "content", "contents", "control",
"controls", "copy", "count", "current", "data", "date", "day", "default",
"delay", "delete", "delimiter", "descending", "desktop", "dialog",
"display", "document", "documents", "domain", "duplicate", "enabled", "ends",
"eof", "equal", "entry", "entries", "exists", "false", "field", "fields",
"file", "files", "folder", "folders", "for", "icon", "icons", "indicator",
"indicators", "item", "items", "length", "list", "load", "location",
"localized", "make", "matrix", "menu", "menus", "missing", "month",
"months", "name", "new", "number", "offset", "open", "order", "panel", "panels",
"path", "popup", "print", "process", "progress", "properties", "quit",
"read", "response", "row", "rows",
"scroll", "select", "selected", "selection", "sheet", "size", "sort",
"sorted", "source", "specification", "start", "starting", "stop", "string",
"table", "text", "title", "true", "Unicode", "update", "user", "value",
"visible", "view", "views", "window", "windows", "write", "year", "years"},
},
{ Id=4,
Regex=[[(\w+)\s*\(]],
},
}
Strings={
Delimiter=[["]],
Escape=[=[ \\\d{3}|\\u\d{4}|\\x[[:xdigit:]]{2}|\\[ntvbrfa\\\?'"] ]=]
}
IgnoreCase=false
Comments={
{ Block=false,
Delimiter= { [[--]] },
},
{ Block=true,
Nested=false,
Delimiter= { [[\(\*]],[[\*\)]],}
}
}
EnableIndentation=false
|