File: applescript.lang

package info (click to toggle)
highlight 4.10-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,556 kB
  • sloc: cpp: 27,579; makefile: 411; sh: 341; ansic: 264; php: 236; python: 217; ruby: 132; perl: 61; tcl: 1
file content (57 lines) | stat: -rw-r--r-- 2,362 bytes parent folder | download | duplicates (3)
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

Description="AppleScript"

Categories = {"source", "script"}

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", "times"},
  },
  { 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", "do","shell",
        "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=true,
    Delimiter= { [[\(\*]],[[\*\)]],}
  }
}

EnableIndentation=false