Repository navigation
Expand file tree
/
Copy pathpick.tmLanguage
More file actions
145 lines (145 loc) · 5.69 KB
/
Copy pathpick.tmLanguage
File metadata and controls
145 lines (145 loc) · 5.69 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>pick</string>
</array>
<key>name</key>
<string>Pick Basic</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>(\*.+|\*)</string>
<key>name</key>
<string>comment.line.asterisk.pick</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>storage.type.pick</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.function.pick</string>
</dict>
</dict>
<key>comment</key>
<string>this will highlight the subroutine keyword and the name of the subroutine seperately</string>
<key>match</key>
<string>(SUBROUTINE)\s+([A-Z0-9_-]+)</string>
<key>name</key>
<string>entity.name.function.pick</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>storage.type.pick</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.function.pick</string>
</dict>
</dict>
<key>comment</key>
<string>this will highlight the CALL keyword and the name of the subsequent call seperately</string>
<key>match</key>
<string>(CALL)\s+([A-Z0-9_\.-]+)</string>
<key>name</key>
<string>entity.name.function.pick</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>storage.type.pick</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.function.pick</string>
</dict>
</dict>
<key>comment</key>
<string>this will highlight the GOSUB keyword and the subroutine name called</string>
<key>match</key>
<string>(GOSUB)\s+([A-Z_\.0-9]*)</string>
<key>name</key>
<string>entity.name.function.pick</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>entity.name.function.pick</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>keyword.operator.pick</string>
</dict>
</dict>
<key>comment</key>
<string>Highlight lines where control-break logic starts</string>
<key>match</key>
<string>([A-Z_\.0-9]*)(:)\s*\n</string>
<key>name</key>
<string>entity.name.function.pick</string>
</dict>
<dict>
<key>match</key>
<string>(\'[A-Za-z0-9()@#\=;:,\\\/|.\-\"\_ ]*\'|\"[A-Za-z0-9()@#\=;:,\\\/|.\-\'\_ ]*\")</string>
<key>name</key>
<string>string.other.quoted-or-unquoted.pick</string>
</dict>
<dict>
<key>match</key>
<string>\b(BEGIN|CASE|DO|ELSE|END|ERROR|FOR|FROM|GO|GOSUB|GOTO|IF|LOOP|NEXT|ON|REPEAT|THEN|TO|UNTIL|WHILE)\b</string>
<key>name</key>
<string>keyword.control.pick</string>
</dict>
<dict>
<key>match</key>
<string>(=|<|>|==|!=|\bNE\b|\bAND\b|:|\+)</string>
<key>name</key>
<string>keyword.operator.pick</string>
</dict>
<dict>
<key>match</key>
<string>\b([0-9]+)\b</string>
<key>name</key>
<string>constant.numeric.pick</string>
</dict>
<dict>
<key>match</key>
<string>\b(@|ABS|ABSS|ADDS|ALPHA|ANDS|ASCII|ASSIGNED|BITCHANGE|BITCHECK|BITRESET|BITSETBYTELEN|CATS|CHANGETIMESTAMP|CHAR|CHARS|CHDIR|CHECKSUM|COL1|COL2|COMPARE|CONVERTCOS|COUNT|COUNTS|DATE|DCOUNT|DECRYPT|DIV|DIVS|DOWNCASE|DQUOTE|DROUND|DTX|DYNTOXMLEBCDIC|ENCRYPT|EQS|EREPLACE|EXIT|EXP|EXTRACT|FIELD|FIELDS|FILEINFO|GES|GETCWDGETENV|GETUSERGROUP|GROUP|ICONV|ICONVS|IFS|INDEX|INMAT|INSERT|INT|ISALPHA|ISALNUMISDIGIT|ISPRINT|ISCNTRL|ISSPACE|ISLOWER|ISUPPER|JBASECOREDUMP|JBASETHREADCreateJBASETHREADStatus|ITYPE|KEYIN|LATIN1|LEFT|LEN|LENS|LENDP|LES|LN|LOCALDATELOCALTIME|LOWCASE|LOWER|MAKETIMESTAMP|MATCHFIELD|MOD|MODS|MULS|NEGS|NES|NOTSNUM|NUMS|OCONV|OCONVS|ORS|PUTENV|PWR|QUOTE|RAISE|RECORDLOCKED|REPLACE|RIGHT|RNDSADD|SDIV|SENTENCE|SEQ|SEQS|SIN|SMUL|SORT|SOUNDEX|SPACE|SPACES|SPLICE|SPOOLERSQRT|SQUOTE|SSUB|STR|STRS|SUM|SWAP|SYSTEM|SUBS|SUBSTRINGS|TAN|TIME|TIMEDATETIMEDIFF|TIMESTAMP|TRANS|TRIM|TRIMB|TRIMBS|TRIMF|TRIMFS|UNASSIGNED|UNIQUEKEYUPCASE|UTF8|XLATE|XMLTODYN|XMLTOXML|XTDJQLCOMPILE|JQLEXECUTE|JQLFETCH|JQLGETPROPERTY|JQLPUTPROPERTY)\b</string>
<key>name</key>
<string>storage.type.pick</string>
</dict>
<dict>
<key>match</key>
<string>\b(ABORT|BEFORE|BREAK|CALL|CALLC|CALLDOTNET|CALLJ|CALLONEXIT|CAPTURING|CHAIN|CHANGE|CLEAR|CLEARCOMMON|CLEARDATA|CLEARFILE|CLEARINPUT|CLEARSELECT|CLOSE|CLOSESEQ|COLLECTDATA|COMMON|CONTINUE|CONVERT|CREATE|CRT|DATA|DEBUG|DEFC|DEFCE|DEFFUN|DEL|DELETE|DELETELIST|DELETESEQ|DELETEU|DIM|DIMENSION|ECHO|ENTER|EQU|EQUATE|EXECUTE|EXIT|FILELOCK|FILEUNLOCK|FIND|FINDSTR|FLUSH|FMT|FMTS|FOLD|FOOTING|FORMAT|FORMLIST|FUNCTION|GET|GETLIST|GETX|HEADING|HEADINGE|HEADINGN|HUSH|IF|IN|INPUT|INPUTNULL|INS|LOCATE|LOCK|MAT|MATBUILD|MATPARSE|MATREAD|MATREADU|MATWRITE|MATWRITEU|MSLEEP|NOBUFF|NULL|OBJEXCALLBACK|OPEN|OPENDEV|OPENPATH|OPENSEQ|OPENSER|OSBREAD|OSBWRITE|OSCLOSE|OSDELETE|OSOPEN|OSREAD|OSWRITE|OUT|PAGE|PAUSE|PASSLIST|PCPERFORM|PERFORM|PRECISION|PRINT|PRINTER|PRINTERR|PROCREAD|PROCWRITE|PROGRAM|PROMPT|READ|READBLK|READL|READLIST|READNEXT|READSELECT|READSEQ|READT|READU|READV|READVL|READVU|READXML|RELEASE|REMOVE|RETURN|RETURNING|REWIND|RQM|RTNDATA|RTNLIST|SEEK|SELECT|SETTING|SEND|SENDX|SLEEP|SSELECT|SSELECTN|SSELECTV|STOP|SUBROUTINE|TIMEOUT|UNLOCK|UDTEXECUTE|WAKE|WEOF|WEOFSEQ|WRITE|WRITEBLK|WRITELIST|WRITESEQ|WRITET|WRITEU|WRITEV|WRITEVU|WRITEXML|LOOP)\b</string>
<key>name</key>
<string>storage.type.pick</string>
</dict>
</array>
<key>scopeName</key>
<string>source.pick</string>
<key>uuid</key>
<string>07c0e103-1d93-44f3-b450-585e4c743cfc</string>
</dict>
</plist>