Mercurial > vim
annotate runtime/syntax/rapid.vim @ 34079:231c0e600dd6
Added tag v9.1.0008 for changeset 56a4023b605df0f0b9b80006a492a4764ed075b7
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 04 Jan 2024 22:30:03 +0100 |
parents | 3dd63e73de28 |
children |
rev | line source |
---|---|
32718
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " ABB Rapid Command syntax file for Vim |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 " Language: ABB Rapid Command |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 " Maintainer: Patrick Meiser-Knosowski <knosowski@graeffrobotics.de> |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 " Version: 2.3.0 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 " Last Change: 21. Jul 2023 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 " Credits: Thanks for beta testing to Thomas Baginski |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 " Suggestions of improvement are very welcome. Please email me! |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 " Note to self: |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
13 " for testing perfomance |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 " open a 1000 lines file. |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 " :syntime on |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 " G |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
17 " hold down CTRL-U until reaching top |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 " :syntime report |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
19 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
20 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
21 " TODO: - highlight rapid constants and maybe constants from common |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
22 " technology packages |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
23 " - optimize rapidErrorStringTooLong |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
24 " - error highlight for missing 2nd point in MoveCirc et al |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
25 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
26 " Init {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
27 " Remove any old syntax stuff that was loaded (5.x) or quit when a syntax file |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
28 " was already loaded (6.x). |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
29 if version < 600 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
30 syntax clear |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
31 elseif exists("b:current_syntax") |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
32 finish |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
33 endif |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
34 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
35 let s:keepcpo= &cpo |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
36 set cpo&vim |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
37 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
38 " if colorscheme is tortus rapidNoHighLink defaults to 1 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
39 if (get(g:,'colors_name'," ")=="tortus" || get(g:,'colors_name'," ")=="tortusless") |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
40 \&& !exists("g:rapidGroupName") |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
41 let g:rapidGroupName=1 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
42 endif |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
43 " rapidGroupName defaults to 0 if it's not initialized yet or 0 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
44 if !get(g:,"rapidGroupName",0) |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
45 let g:rapidGroupName=0 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
46 endif |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
47 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
48 " Rapid does ignore case |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
49 syn case ignore |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
50 " spell checking |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
51 syn spell notoplevel |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
52 " }}} init |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
53 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
54 " common highlighting {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
55 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
56 " Error {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
57 if get(g:,'rapidShowError',1) |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
58 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
59 " This error must be defined befor rapidCharCode and rapidEscapedBackSlash |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
60 " a string containing a single \ which is not a char code |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
61 syn match rapidErrorSingleBackslash /\\/ contained |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
62 highlight default link rapidErrorSingleBackslash Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
63 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
64 endif |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
65 " }}} Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
66 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
67 " Constant values {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
68 " Boolean |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
69 syn keyword rapidBoolean TRUE FALSE Edge High Low |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
70 highlight default link rapidBoolean Boolean |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
71 " Float (num) |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
72 " syn match rapidFloat /\v%(\W|_)@1<=[+-]?\d+\.?\d*%(\s*[eE][+-]?\d+)?/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
73 syn match rapidFloat /\v\c%(<\d+\.|\.?<\d)\d*%(E[+-]?\d+)?>/ contains=rapidOperator |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
74 highlight default link rapidFloat Float |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
75 " integer in decimal, hexadecimal, octal and binary |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
76 syn match rapidDec /\<[0-9]\+\>/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
77 highlight default link rapidDec Number |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
78 syn match rapidHex /\<0x[0-9a-fA-F]\+\>/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
79 highlight default link rapidHex Number |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
80 syn match rapidOct /\<0o[0-7]\+\>/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
81 highlight default link rapidOct Number |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
82 syn match rapidBin /\<0b[01]\+\>/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
83 highlight default link rapidBin Number |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
84 " String. Note: Don't rename group rapidString. Indent depend on this |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
85 syn region rapidString matchgroup=rapidString start=/"/ skip=/""/ end=/"/ oneline contains=rapidStringDoubleQuote,rapidEscapedBackSlash,rapidCharCode,rapidErrorSingleBackslash,rapidErrorStringTooLong,@Spell |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
86 highlight default link rapidString String |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
87 " two adjacent "" in string for one double quote |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
88 syn match rapidStringDoubleQuote /""/ contained |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
89 highlight default link rapidStringDoubleQuote SpecialChar |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
90 " character code in string |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
91 syn match rapidCharCode /\\\x\x/ contained |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
92 highlight default link rapidCharCode SpecialChar |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
93 " escaped \ in string |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
94 syn match rapidEscapedBackSlash /\\\\/ contained |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
95 highlight default link rapidEscapedBackSlash SpecialChar |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
96 " }}} Constant values |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
97 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
98 " }}} common highlighting |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
99 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
100 if bufname("%") =~ '\c\.cfg$' |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
101 " {{{ highlighting for *.cfg |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
102 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
103 " special chars {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
104 " syn match rapidOperator /:\|[+-]\|\*\|\/\|\\/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
105 syn match rapidOperator /[-+*/:\\]/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
106 syn match rapidOperator /^#/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
107 highlight default link rapidOperator Operator |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
108 " }}} special chars |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
109 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
110 " sections {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
111 syn match rapidException /^\w\+/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
112 syn match rapidException /CFG_\d\+/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
113 highlight default link rapidException Exception |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
114 " }}} sections |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
115 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
116 " Error {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
117 if get(g:,'rapidShowError',1) |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
118 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
119 " This error must be defined after rapidString |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
120 " Any Name longer than 32 chars |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
121 syn match rapidErrorNameTooLong /-Name "[^"]\{33,}"/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
122 highlight default link rapidErrorNameTooLong Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
123 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
124 endif |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
125 " }}} Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
126 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
127 " }}} highlighting for *.cfg |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
128 else |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
129 " highlighting for *.mod, *.sys and *.prg {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
130 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
131 " sync for regions from a line comment or the start of a function |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
132 syn sync match rapidSync grouphere NONE /\v\c^\s*%(!|%(task\s+|local\s+)?%(module|proc|func|trap|record)>)/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
133 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
134 " Comment {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
135 " TODO Comment |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
136 syn match rapidTodoComment contained /\<TODO\>\|\<FIXME\>\|\<XXX\>/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
137 highlight default link rapidTodoComment Todo |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
138 " Debug comment |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
139 syn match rapidDebugComment contained /\<DEBUG\>/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
140 highlight default link rapidDebugComment Debug |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
141 " Line comment |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
142 syn match rapidComment /!.*$/ contains=rapidTodoComment,rapidDebugComment,@Spell |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
143 highlight default link rapidComment Comment |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
144 " }}} Comment |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
145 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
146 " Header {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
147 syn match rapidHeader /^%%%/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
148 highlight default link rapidHeader PreProc |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
149 " }}} Header |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
150 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
151 " Operator {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
152 " Boolean operator |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
153 syn keyword rapidOperator and or xor not div mod |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
154 " Arithmetic and compare operator |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
155 syn match rapidOperator /[-+*/<>:=]/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
156 " conditional argument |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
157 syn match rapidOperator /?/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
158 highlight default link rapidOperator Operator |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
159 " }}} Operator |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
160 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
161 " Type, StorageClass and Typedef {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
162 " anytype (preceded by 'alias|pers|var|const|func' |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
163 " TODO: still missing are userdefined types which are part of a parameter: |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
164 " PROC message( mystring msMessagePart1{}, |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
165 " \ myvar msMsg4{}) |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
166 " TODO testing. Problem: does not highlight any type if it's part of an argument list |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
167 " syn match rapidAnyType /\v^\s*(global\s+|task\s+|local\s+)?(alias|pers|var|const|func)\s+\w+>/ contains=rapidStorageClass,rapidType,rapidTypeDef |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
168 " highlight default link rapidAnyType Type |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
169 syn keyword rapidType accdata aiotrigg bool btnres busstate buttondata byte |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
170 syn keyword rapidType cfgdomain clock cnvcmd confdata confsupdata corrdescr datapos deflectiondata dionum dir dnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
171 syn keyword rapidType egmframetype egmident egm_minmax egmstate egmstopmode errdomain errnum ErrorInfo errstr errtype event_type exec_level extjoint handler_type |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
172 syn keyword rapidType icondata identno inposdata intnum inttypes iodev iounit_state jointtarget |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
173 syn keyword rapidType listitem loaddata loadidnum loadsession mecunit motionprocessmode motsetdata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
174 " syn keyword rapidType num |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
175 syn keyword rapidType opcalc opnum orient paridnum paridvalidnum pathrecid pnpdata pos pose proc_times progdisp o_jointtarget o_robtarget |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
176 syn keyword rapidType rawbytes restartdata rmqheader rmqmessage rmqslot robjoint robtarget |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
177 syn keyword rapidType searchdata sensor sensorstate sensorvardata shapedata signalai signalao signaldi signaldo signalgi signalgo signalorigin singdata socketdev socketstatus speeddata stopmovestartmove_mem stoppoint stoppointdata string stringdig sup_timeouts supervtype switch symnum syncident |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
178 syn keyword rapidType taskid tasks tasksatstart testsignal tooldata tpnum trapdata triggdata triggflag triggios triggiosdnum triggmode triggstrgo tsp_status tunegtype tunetype |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
179 syn keyword rapidType uishownum veldata visiondata wobjdata wzstationary wztemporary zonedata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
180 " SoftMove data types |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
181 syn keyword rapidType css_offset_dir css_soft_dir cssframe |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
182 " arc data types |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
183 syn keyword rapidType advSeamData arcdata flystartdata seamdata arctrackdata opttrackdata weavedata welddata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
184 " conveyor tracking data types |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
185 syn keyword rapidType indcnvdata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
186 " Integrated Vision data types |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
187 syn keyword rapidType cameradev cameratarget |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
188 " arc Weldguide and MultiPass data types |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
189 syn keyword rapidType adaptdata trackdata multidata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
190 " dispense data types |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
191 syn keyword rapidType beaddata equipdata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
192 " Spot data types |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
193 syn keyword rapidType gundata gunnum spotdata forcedata simdata smeqdata smeqtype |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
194 " Tool change data types |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
195 syn keyword rapidType standno ToolInfo toolno |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
196 " Continuous Application Platform data types |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
197 syn keyword rapidType capaptrreferencedata capdata capevent caplatrackdata capmvsttim capspeeddata capspeeddata capstopmode captestno captrackdata capweavedata flypointdata processtimes restartblkdata supervtimeouts weavestartdata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
198 " Bulls Eye data types |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
199 syn keyword rapidType be_device be_scan be_tooldesign |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
200 " Force Control data types |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
201 syn keyword rapidType fcboxvol fccondstatus fccylindervol fcdamping fcforcevector fcframe fclindir fcprocessdata fcplane fcrotdir fcspeedvector fcspherevol fcspdchgtunetype fcxyznum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
202 " Discrete application platform data types |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
203 syn keyword rapidType dadescapp dadescprc daintdata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
204 " VW Konzernstandard VWKS_1.07.02 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
205 syn keyword rapidType merker |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
206 syn keyword rapidType frgnum frgwert robnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
207 syn keyword rapidType fmnum applid calibdatavorr stepdata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
208 syn keyword rapidType tsmethode tsdaten teilspeicherdaten |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
209 syn keyword rapidType greiferdaten greiferposition bauteildaten bauteilkontrolle g_datenident g_sensor g_signal g_teilident g_ventil |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
210 syn keyword rapidType strgnum typnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
211 syn keyword rapidType hubnum kopfnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
212 syn keyword rapidType applservicetype |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
213 syn keyword rapidType applfraesdaten kwdionum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
214 syn keyword rapidType butechnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
215 syn keyword rapidType toolnum dbnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
216 " das folgende sind datentypen aber das kann man doch nicht machen... |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
217 " syn keyword rapidType position wert |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
218 syn keyword rapidType camdata camlimitdata cammode camprotocoldata camstatus camsequence campositionstatus |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
219 syn keyword rapidType saposnum sabereichnum autofocusnum focusposnum lascaledata laleistungnum larobnum laprognum uebwnum dgbanum dgjobnum gasspuelnum davalve gasuebwnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
220 syn keyword rapidType lsfigurnum lsstarttype |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
221 syn keyword rapidType lwprognum lwdiodnum lsstarttype |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
222 syn keyword rapidType lztype diskrethubnum lztipnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
223 syn keyword rapidType gblmethod |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
224 syn keyword rapidType buatypenum buatechnum buadirnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
225 highlight default link rapidType Type |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
226 " Storage class |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
227 syn keyword rapidStorageClass LOCAL TASK VAR PERS CONST ALIAS NOVIEW NOSTEPIN VIEWONLY READONLY SYSMODULE INOUT |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
228 highlight default link rapidStorageClass StorageClass |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
229 " Not a typedef but I like to have those highlighted different then types, |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
230 " structures or strorage classes |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
231 syn keyword rapidTypeDef MODULE ENDMODULE PROC ERROR UNDO BACKWARD ENDPROC RECORD ENDRECORD TRAP ENDTRAP FUNC ENDFUNC |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
232 highlight default link rapidTypeDef TypeDef |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
233 " }}} Type, StorageClass and Typedef |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
234 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
235 " Statements, keywords et al {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
236 " syn keyword rapidStatement |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
237 " highlight default link rapidStatement Statement |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
238 " Conditional |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
239 syn keyword rapidConditional if then elseif else endif test case default endtest |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
240 highlight default link rapidConditional Conditional |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
241 " Repeat |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
242 syn keyword rapidRepeat do |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
243 syn match rapidRepeat /\c\v^\s*%(<while>|<for>)%([^!]+<do>)@=/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
244 syn keyword rapidRepeat from to step endfor endwhile |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
245 highlight default link rapidRepeat Repeat |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
246 " Label |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
247 syn keyword rapidLabel goto |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
248 syn match rapidLabel /\c\v^\s*[[:upper:][:lower:]]\k*\:\ze%([^=]|$)/ contains=rapidConditional,rapidOperator |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
249 highlight default link rapidLabel Label |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
250 " Keyword |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
251 syn keyword rapidKeyword AccSet ActEventBuffer ActUnit Add AliasCamera AliasIO AliasIOReset BitClear BitSet BookErrNo BrakeCheck |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
252 syn keyword rapidKeyword CallByVar CancelLoad CheckProgRef CirPathMode Clear ClearIOBuff ClearPath ClearRawBytes ClkReset ClkStart ClkStop Close CloseDir ConfJ ConfL CONNECT CopyFile CopyRawBytes CornerPathWarning CorrClear CorrCon CorrDiscon CorrWrite |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
253 syn keyword rapidKeyword CSSAct CSSDeact CSSForceOffsetAct CSSForceOffsetDeact CSSOffsetTune CyclicBrakeCheck |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
254 syn keyword rapidKeyword DeactEventBuffer DeactUnit Decr DitherAct DitherDeact DropSensor |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
255 syn keyword rapidKeyword EGMActJoint EGMActMove EGMActPose EGMGetId EGMReset EGMSetupAI EGMSetupAO EGMSetupGI EGMSetupLTAPP EGMSetupUC EOffsOff EOffsOn EOffsSet EraseModule ErrLog ErrWrite |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
256 syn keyword rapidKeyword FitCircle FricIdInit FricIdEvaluate FricIdSetFricLevels |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
257 syn keyword rapidKeyword GetDataVal GetGroupSignalInfo GetJointData GetSysData GetTorqueMargin GetTrapData GripLoad HollowWristReset |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
258 syn keyword rapidKeyword IDelete IDisable IEnable IError Incr IndReset InvertDO IOBusStart IOBusState IoCtrlAxis_RefSync IoCtrlAxis_RefSyncOff IoCtrlAxis_RefSyncOn IODisable IOEnable IPers IRMQMessage ISignalAI ISignalAO ISignalDI ISignalDO ISignalGI ISignalGO ISleep ITimer IVarValue IWatch |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
259 syn keyword rapidKeyword Load LoadId MakeDir ManLoadIdProc MatrixSolve MatrixSolveQR MatrixSVD MechUnitLoad MotionProcessModeSet MotionSup MToolRotCalib MToolTCPCalib Open OpenDir |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
260 syn keyword rapidKeyword PackDNHeader PackRawBytes PathAccLim PathLengthReset PathLengthStart PathLengthStop PathRecStart PathRecStop PathResol PDispOff PDispOn PDispSet ProcerrRecovery PrxActivAndStoreRecord PrxActivRecord PrxDbgStoreRecord PrxDeactRecord PrxResetPos PrxResetRecords PrxSetPosOffset PrxSetRecordSampleTime PrxSetSyncalarm PrxStartRecord PrxStopRecord PrxStoreRecord PrxUseFileRecord PulseDO |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
261 syn keyword rapidKeyword ReadAnyBin ReadBlock ReadCfgData ReadErrData ReadRawBytes ReadVarArr RemoveAllCyclicBool RemoveCyclicBool RemoveDir RemoveFile RenameFile Reset ResetAxisDistance ResetAxisMoveTime ResetPPMoved ResetRetryCount ResetTorqueMargin RestoPath Rewind RMQEmptyQueue RMQFindSlot RMQGetMessage RMQGetMsgData RMQGetMsgHeader RMQReadWait RMQSendMessage RMQSendWait |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
262 syn keyword rapidKeyword SafetyControllerSyncRequest Save SaveCfgData SCWrite SenDevice Set SetAllDataVal SetAO SetDataSearch SetDataVal SetDO SetGO SetLeadThrough SetSysData SetupCyclicBool SiConnect SiClose SiGetCyclic SingArea SiSetCyclic SkipWarn SocketAccept SocketBind SocketClose SocketConnect SocketCreate SocketListen SocketReceive SocketReceiveFrom SocketSend SocketSendTo SoftAct SoftDeact SoftElbow SpeedLimAxis SpeedLimCheckPoint SpeedRefresh SpyStart SpyStop StartLoad STCalib STClose STIndGun STIndGunReset SToolRotCalib SToolTCPCalib STOpen StorePath STTune STTuneReset SupSyncSensorOff SupSyncSensorOn SyncMoveOff SyncMoveOn SyncMoveResume SyncMoveSuspend SyncMoveUndo SyncToSensor SystemStopAction |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
263 syn keyword rapidKeyword TestSignDefine TestSignReset TextTabInstall TPErase TPReadDnum TPReadFK TPReadNum TPShow TPWrite TriggCheckIO TriggDataCopy TriggDataReset TriggEquip TriggInt TriggIO TriggRampAO TriggSpeed TriggStopProc TryInt TuneReset TuneServo |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
264 syn keyword rapidKeyword UIMsgBox UIMsgWrite UIMsgWriteAbort UIShow UnLoad UnpackRawBytes VelSet WaitAI WaitAO WaitDI WaitDO WaitGI WaitGO WaitLoad WaitRob WaitSensor WaitSyncTask WaitTestAndSet WaitTime WaitUntil WarmStart WITH WorldAccLim Write WriteAnyBin WriteBin WriteBlock WriteCfgData WriteRawBytes WriteStrBin WriteVar WriteVarArr WZBoxDef WZCylDef WZDisable WZDOSet WZEnable WZFree WZHomeJointDef WZLimJointDef WZLimSup WZSphDef |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
265 " arc instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
266 syn keyword rapidKeyword ArcRefresh RecoveryMenu RecoveryMenuWR RecoveryPosSet RecoveryPosReset SetWRProcName |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
267 " conveyor tracking instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
268 syn keyword rapidKeyword UseACCProfile WaitWObj DropWObj RecordProfile WaitAndRecProf StoreProfile LoadProfile ActivateProfile DeactProfile CnvGenInstr CnvSync CnvGenInstr IndCnvInit IndCnvEnable IndCnvDisable IndCnvReset IndCnvAddObject |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
269 syn keyword rapidKeyword UseReachableTargets GetMaxUsageTime ResetMaxUsageTime CnvPredictReach |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
270 " Integrated Vision instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
271 syn keyword rapidKeyword CamFlush CamGetParameter CamGetResult CamLoadJob CamReqImage CamSetExposure CamSetParameter CamSetProgramMode CamSetRunMode CamStartLoadJob CamWaitLoadJob |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
272 " arc Weldguide and MultiPass instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
273 syn keyword rapidKeyword MPSavePath MPLoadPath MPReadInPath MPOffsEaxOnPath |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
274 " Paint instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
275 syn keyword rapidKeyword ConsoleWrite IpsSetParam PntProdUserLog SetBrush SetBrushFac |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
276 " Spot instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
277 syn keyword rapidKeyword SetForce Calibrate ReCalcTCP IndGunMove IndGunMoveReset OpenHighLift CloseHighLift SwSetIntSpotData SwSetIntForceData SwSetIntGunData SwSetIntSimData SwGetCalibData SwGetFixTipData |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
278 " Tool change instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
279 syn keyword rapidKeyword TcCloseCover TcDropOffTool TcLockTool TcOpenCover TcPickupTool TcUnlockTool |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
280 " dispense instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
281 syn keyword rapidKeyword SetTmSignal SyncWWObj |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
282 " Continuous Application Platform instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
283 syn keyword rapidKeyword CapAPTrSetup CapAPTrSetupAI CapAPTrSetupAO CapAPTrSetupPERS CapCondSetDO CapEquiDist CapNoProcess CapRefresh CAPSetStopMode CapWeaveSync ICap InitSuperv IPathPos RemoveSuperv SetupSuperv |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
284 " Bulls Eye instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
285 syn keyword rapidKeyword BECheckTcp BEDebugState BERefPointer BESetupToolJ BETcpExtend BEUpdateTcp |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
286 " Force Control instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
287 syn keyword rapidKeyword FCAct FCCalib FCCondForce FCCondOrient FCCondPos FCCondReoriSpeed FCCondTCPSpeed FCCondTorque FCCondWaitWhile FCDeact FCPress1LStart FCPressC FCPressEnd FCPressL FCRefCircle FCRefForce FCRefLine FCRefMoveFrame FCRefRot FCRefSpiral FCRefSprForceCart FCRefStart FCRefStop FCRefTorque FCResetDampingTune FCResetLPFilterTune FCSpdChgAct FCSpdChgDeact FCSpdChgTunSet FCSpdChgTunReset FCSetDampingTune FCSetLPFilterTune FCSupvForce FCSupvOrient FCSupvPos FCSupvReoriSpeed FCSupvTCPSpeed FCSupvTorque |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
288 " Discrete application platform instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
289 syn keyword rapidKeyword DaActProc DaDeactAllProc DaDeactProc DaDefExtSig DaDefProcData DaDefProcSig DaDefUserData DaGetCurrData DaSetCurrData DaSetupAppBehav DaStartManAction DaGetAppDescr DaGetAppIndex DaGetNumOfProcs DaGetNumOfRob DaGetPrcDescr |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
290 " Production Manager instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
291 syn keyword rapidKeyword ExecEngine PMgrGetNextPart PMgrSetNextPart PMgrRunMenu |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
292 " Homepos-Running instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
293 syn keyword rapidKeyword HR_Exit HR_ExitCycle HR_SavePos HR_SetMoveToStartPos HR_SetTypeDIndex HR_SetTypeIndex |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
294 highlight default link rapidKeyword Keyword |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
295 " Exception |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
296 syn keyword rapidException Exit ErrRaise ExitCycle Raise RaiseToUser Retry Return TryNext |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
297 syn match rapidException /\s\+Stop\s*[\\;]/me=e-1 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
298 highlight default link rapidException Exception |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
299 " }}} Statements, keywords et al |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
300 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
301 " Special keyword for move command {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
302 " uncategorized yet |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
303 syn keyword rapidMovement MovePnP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
304 syn keyword rapidMovement EGMMoveC EGMMoveL EGMRunJoint EGMRunPose EGMStop |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
305 syn keyword rapidMovement IndAMove IndCMove IndDMove IndRMove |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
306 " common instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
307 syn keyword rapidMovement MoveAbsJ MoveC MoveExtJ MoveJ MoveL |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
308 syn keyword rapidMovement MoveCAO MoveCDO MoveCGO MoveCSync MoveJAO MoveJDO MoveJGO MoveJSync MoveLAO MoveLDO MoveLGO MoveLSync |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
309 syn keyword rapidMovement SearchC SearchExtJ SearchL |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
310 syn keyword rapidMovement TriggC TriggJ TriggL TriggJIOs TriggLIOs |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
311 " Arc instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
312 syn keyword rapidMovement ArcC ArcC1 ArcC2 ArcCEnd ArcC1End ArcC2End ArcCStart ArcC1Start ArcC2Start |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
313 syn keyword rapidMovement ArcL ArcL1 ArcL2 ArcLEnd ArcL1End ArcL2End ArcLStart ArcL1Start ArcL2Start ArcMoveExtJ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
314 " Arc Weldguide and MultiPass instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
315 syn keyword rapidMovement ArcRepL ArcAdaptLStart ArcAdaptL ArcAdaptC ArcAdaptLEnd ArcAdaptCEnd ArcCalcLStart ArcCalcL ArcCalcC ArcCalcLEnd ArcCalcCEnd ArcAdaptRepL |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
316 syn keyword rapidMovement Break |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
317 " Continuous Application Platform instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
318 syn keyword rapidMovement CapC CapL CapLATrSetup CSSDeactMoveL ContactL |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
319 " Dispense instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
320 syn keyword rapidMovement DispL DispC |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
321 " Nut instructions" |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
322 syn keyword rapidMovement NutL NutJ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
323 syn keyword rapidMovement PathRecMoveBwd PathRecMoveFwd |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
324 " Paint instructions" |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
325 syn keyword rapidMovement PaintL PaintLSig PaintLDO PaintC |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
326 syn keyword rapidMovement StartMove StartMoveRetry StepBwdPath StopMove StopMoveReset |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
327 " Spot instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
328 syn keyword rapidMovement SpotL SpotJ SpotML SpotMJ CalibL CalibJ MeasureWearL |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
329 " Homepos-Running instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
330 syn keyword rapidMovement SMoveJ SMoveJDO SMoveJGO SMoveJSync SMoveL SMoveLDO SMoveLGO SMoveLSync SSearchL STriggJ STriggL |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
331 syn keyword rapidMovement HR_ContMove HR_MoveBack HR_MoveRoutine HR_MoveTo HR_MoveToHome SCSSDeactMoveL |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
332 " Discrete application platform instructions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
333 syn keyword rapidMovement DaProcML DaProcMJ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
334 " VW Konzernstandard VWKS_1.07.02 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
335 syn keyword rapidMovement MoveABS MoveABS_FB MoveABS_FRG MoveABS_ROB |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
336 syn keyword rapidMovement MoveCIRC MoveCIRC_FB MoveCIRC_FRG MoveCIRC_ROB |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
337 syn keyword rapidMovement MoveLIN MoveLIN_FB MoveLIN_FRG MoveLIN_ROB |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
338 syn keyword rapidMovement MovePTP MovePTP_FB MovePTP_FRG MovePTP_ROB |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
339 syn keyword rapidMovement SearchCIRC SearchCIRC_M |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
340 syn keyword rapidMovement SearchLIN SearchLIN_M |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
341 syn keyword rapidMovement MoveABS_AO MoveABS_DO MoveABS_GO |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
342 syn keyword rapidMovement MoveCIRC_AO MoveCIRC_DO MoveCIRC_GO |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
343 syn keyword rapidMovement MoveLIN_AO MoveLIN_DO MoveLIN_GO |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
344 syn keyword rapidMovement KW_LoesenLIN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
345 syn keyword rapidMovement SPZ_FraesenLIN SPZ_FraesenPTP SPZ_MessenLIN SPZ_MessenPTP SPZ_LIN SPZ_PTP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
346 syn keyword rapidMovement BZ_LIN BZ_PTP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
347 syn keyword rapidMovement KL_LIN KL_CIRC |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
348 syn keyword rapidMovement BP_LIN BP_PTP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
349 syn keyword rapidMovement BU_CIRC BU_LIN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
350 syn keyword rapidMovement CZ_LIN CZ_LIN_V CZ_PTP CZ_PTP_V |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
351 syn keyword rapidMovement FD_LIN FD_PTP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
352 syn keyword rapidMovement KG_LIN KG_PTP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
353 syn keyword rapidMovement DA_LIN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
354 syn keyword rapidMovement LK_CIRC LK_LIN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
355 syn keyword rapidMovement LL_CIRC LL_LIN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
356 syn keyword rapidMovement LS_CIRC LS_LIN LS_LIN_F LS_PTP_F |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
357 syn keyword rapidMovement LW_CIRC LW_LIN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
358 syn keyword rapidMovement LZ_LIN LZ_PTP LZ_ReinigenLIN LZ_ReinigenPTP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
359 syn keyword rapidMovement MS_CIRC MS_LIN MS_ReinigenLIN MS_SearchLIN MS_PTP_CS MS_LIN_CS GBL_LIN GBL_PTP GBL_RefPointLIN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
360 syn keyword rapidMovement NK_LIN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
361 syn keyword rapidMovement NZ_LIN NZ_LIN_V NZ_PTP NZ_PTP_V |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
362 syn keyword rapidMovement PR_LIN PR_PTP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
363 syn keyword rapidMovement RF_CIRC RF_LIN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
364 syn keyword rapidMovement STP_FraesenLIN STP_FraesenPTP STP_LIN STP_PTP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
365 syn keyword rapidMovement SM_LIN SM_PTP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
366 syn keyword rapidMovement BUA_CIRC BUA_LIN BUA_MessenLIN BUA_MessenPTP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
367 syn keyword rapidMovement KE_LIN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
368 if g:rapidGroupName |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
369 highlight default link rapidMovement Movement |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
370 else |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
371 highlight default link rapidMovement Special |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
372 endif |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
373 " }}} special keyword for move command |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
374 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
375 " Any name {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
376 syn match rapidNames /\v[[:upper:][:lower:]](\k|\.)*/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
377 " }}} Any name |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
378 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
379 " Attempt to avoid false highlight of num in case of parameter name: |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
380 " TPWrite "goPosNo="\num:=GOutput(goPosNo); |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
381 " Must follow after rapidNames in this file |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
382 syn match rapidType /\c\v<num>\s*\ze[^ :]/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
383 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
384 " Structure value {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
385 " rapid structrure values. added to be able to conceal them |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
386 syn region rapidConcealableString matchgroup=rapidConcealableString start=/"/ skip=/""/ end=/"/ oneline keepend extend contained contains=rapidStringDoubleQuote,rapidEscapedBackSlash,rapidCharCode,rapidErrorSingleBackslash,rapidErrorStringTooLong,@Spell conceal |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
387 highlight default link rapidConcealableString String |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
388 syn region rapidStructVal matchgroup=rapidStructDelimiter start=/\[/ end=/\]/ contains=rapidStructVal,rapidBoolean,rapidDec,rapidHex,rapidOct,rapidBin,rapidFloat,rapidConcealableString,rapidDelimiter,rapidConstant,rapidErrNo,rapidIntNo,rapidOperator keepend extend conceal cchar=* |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
389 highlight default link rapidStructDelimiter Delimiter |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
390 " check edge cases like this one: |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
391 " LOCAL CONST listitem lstAuswService{18}:=[["","Service Position"],["","Bremsentest"],["","Referenzfahrt"],["","Manuelles Abfahren"],["","Justagestellung"],["","Transportposition"], |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
392 " ["","Spitze-Spitze Greifer 1, [RT]"],["","Spitze-Spitze Greifer 2, [FT]"],["","Spitze-Spitze Pruefspitze"],["","Werkobjekt Ablage"],["","Werkobjekt Modul 1"], |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
393 " ["","Werkobjekt Modul 2"],["","TCP von Greifer 1 vermessen, [RT]"],["","TCP von Greifer 2 vermessen, [FT]"],["","TCP von Basisdorn vermessen"], |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
394 " ["","Greifer abdocken"],["","Greifer andocken"],["","Kollision Check (Ohne Greifer)"]]; |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
395 " }}} Structure value |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
396 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
397 " Delimiter {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
398 syn match rapidDelimiter /[\\(){},;|]/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
399 highlight default link rapidDelimiter Delimiter |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
400 " }}} Delimiter |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
401 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
402 " BuildInFunction {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
403 " dispense functions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
404 syn keyword rapidBuildInFunction contained GetSignal GetSignalDnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
405 " Integrated Vision Platform functions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
406 syn keyword rapidBuildInFunction contained CamGetExposure CamGetLoadedJob CamGetName CamNumberOfResults |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
407 " Continuous Application Platform functions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
408 syn keyword rapidBuildInFunction contained CapGetFailSigs |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
409 syn keyword rapidBuildInFunction contained Abs AbsDnum ACos ACosDnum AInput AOutput ArgName ASin ASinDnum ATan ATanDnum ATan2 ATan2Dnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
410 syn keyword rapidBuildInFunction contained BitAnd BitAndDnum BitCheck BitCheckDnum BitLSh BitLShDnum BitNeg BitNegDnum BitOr BitOrDnum BitRSh BitRShDnum BitXOr BitXOrDnum ByteToStr |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
411 syn keyword rapidBuildInFunction contained CalcJointT CalcRobT CalcRotAxFrameZ CalcRotAxisFrame CDate CJointT ClkRead CorrRead Cos CosDnum CPos CRobT CrossProd CSpeedOverride CTime CTool CWObj |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
412 syn keyword rapidBuildInFunction contained DecToHex DefAccFrame DefDFrame DefFrame Dim DInput Distance DnumToNum DnumToStr DotProd DOutput |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
413 syn keyword rapidBuildInFunction contained EGMGetState EulerZYX EventType ExecHandler ExecLevel Exp |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
414 syn keyword rapidBuildInFunction contained FileSize FileTime FileTimeDnum FSSize |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
415 syn keyword rapidBuildInFunction contained GetAxisDistance GetAxisMoveTime GetMaxNumberOfCyclicBool GetMecUnitName GetModalPayLoadMode GetMotorTorque GetNextCyclicBool GetNextMechUnit GetNextSym GetNumberOfCyclicBool GetServiceInfo GetSignalOrigin GetSysInfo GetTaskName GetTime GetTSPStatus GetUASUserName GInput GInputDnum GOutput GOutputDnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
416 syn keyword rapidBuildInFunction contained HexToDec |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
417 syn keyword rapidBuildInFunction contained IndInpos IndSpeed IOUnitState IsBrakeCheckActive IsCyclicBool IsFile IsLeadThrough IsMechUnitActive IsPers IsStopMoveAct IsStopStateEvent IsSyncMoveOn IsSysId IsVar |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
418 syn keyword rapidBuildInFunction contained Max MaxExtLinearSpeed MaxExtReorientSpeed MaxRobReorientSpeed MaxRobSpeed Min MirPos ModExist ModTime ModTimeDnum MotionPlannerNo |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
419 syn keyword rapidBuildInFunction contained NonMotionMode NOrient NumToDnum NumToStr |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
420 syn keyword rapidBuildInFunction contained Offs OpMode OrientZYX ORobT |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
421 syn keyword rapidBuildInFunction contained ParIdPosValid ParIdRobValid PathLengthGet PathLevel PathRecValidBwd PathRecValidFwd PFRestart PoseInv PoseMult PoseVect Pow PowDnum PPMovedInManMode Present ProgMemFree PrxGetMaxRecordpos |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
422 syn keyword rapidBuildInFunction contained RawBytesLen ReadBin ReadDir ReadMotor ReadNum ReadStr ReadStrBin ReadVar RelTool RemainingRetries RMQGetSlotName RobName RobOS Round RoundDnum RunMode |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
423 syn keyword rapidBuildInFunction contained SafetyControllerGetChecksum SafetyControllerGetOpModePinCode SafetyControllerGetSWVersion SafetyControllerGetUserChecksum Sin SinDnum SocketGetStatus SocketPeek Sqrt SqrtDnum STCalcForce STCalcTorque STIsCalib STIsClosed STIsIndGun STIsOpen StrDigCalc StrDigCmp StrFind StrLen StrMap StrMatch StrMemb StrOrder StrPart StrToByte StrToVal |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
424 syn keyword rapidBuildInFunction contained Tan TanDnum TaskRunMec TaskRunRob TasksInSync TaskIsActive TaskIsExecuting TestAndSet TestDI TestSignRead TextGet TextTabFreeToUse TextTabGet TriggDataValid Trunc TruncDnum Type |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
425 syn keyword rapidBuildInFunction contained UIAlphaEntry UIClientExist UIDnumEntry UIDnumTune UIListView UIMessageBox UINumEntry UINumTune |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
426 syn keyword rapidBuildInFunction contained ValidIO ValToStr Vectmagn |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
427 " Bulls Eye functions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
428 syn keyword rapidBuildInFunction contained OffsToolXYZ OffsToolPolar |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
429 " Force Control functions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
430 syn keyword rapidBuildInFunction contained FCGetForce FCGetProcessData FCIsForceMode FCLoadID |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
431 " Discrete application platform functions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
432 syn keyword rapidBuildInFunction contained DaGetFstTimeEvt DaCheckMMSOpt DaGetMP DaGetRobotName DaGetTaskName |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
433 " Production Manager functions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
434 syn keyword rapidBuildInFunction contained PMgrAtSafe PMgrAtService PMgrAtState PMgrAtStation PMgrNextStation PMgrTaskNumber PMgrTaskName |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
435 " Spot functions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
436 syn keyword rapidBuildInFunction contained SwGetCurrTargetName SwGetCurrSpotName |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
437 " Homepos-Running functions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
438 syn keyword rapidBuildInFunction contained HR_RobotInHome HR_GetTypeDIndex HR_GetTypeIndex |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
439 " Paint functions |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
440 syn keyword rapidBuildInFunction contained IndexLookup IpsCommand IpsGetParam PaintCommand PntQueueExtraGet PntQueueExtraSet PntQueuePeek |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
441 if g:rapidGroupName |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
442 highlight default link rapidBuildInFunction BuildInFunction |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
443 else |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
444 highlight default link rapidBuildInFunction Function |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
445 endif |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
446 " }}} |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
447 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
448 " Function {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
449 syn match rapidFunction contains=rapidBuildInFunction /\v\c%(<%(PROC|MODULE)\s+)@10<!<[[:upper:][:lower:]]\k+ *\(/me=e-1 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
450 highlight default link rapidFunction Function |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
451 syn match rapidCallByVar /%\ze[^%]/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
452 highlight default link rapidCallByVar Function |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
453 " }}} Function |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
454 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
455 " Constants {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
456 " standard rapid constants |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
457 syn keyword rapidConstant pi stEmpty |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
458 syn keyword rapidConstant STR_DIGIT STR_LOWER STR_UPPER STR_WHITE |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
459 syn keyword rapidConstant flp1 diskhome diskram disktemp usbdisk1 usbdisk2 usbdisk3 usbdisk4 usbdisk5 usbdisk6 usbdisk7 usbdisk8 usbdisk9 usbdisk10 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
460 " stoppoint |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
461 syn keyword rapidConstant inpos stoptime fllwtime |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
462 " stoppointdata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
463 syn keyword rapidConstant inpos20 inpos50 inpos100 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
464 syn keyword rapidConstant stoptime0_5 stoptime1_0 stoptime1_5 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
465 syn keyword rapidConstant fllwtime0_5 fllwtime1_0 fllwtime1_5 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
466 " default tool/wobj/load |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
467 syn keyword rapidConstant tool0 wobj0 load0 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
468 " zonedata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
469 syn keyword rapidConstant fine z0 z1 z5 z10 z15 z20 z30 z40 z50 z60 z80 z100 z150 z200 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
470 " speeddata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
471 syn keyword rapidConstant v5 v10 v20 v30 v40 v50 v60 v80 v100 v150 v200 v300 v400 v500 v600 v800 v1000 v1500 v2000 v2500 v3000 v4000 v5000 v6000 v7000 vmax |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
472 syn keyword rapidConstant vrot1 vrot2 vrot5 vrot10 vrot20 vrot50 vrot100 vlin10 vlin20 vlin50 vlin100 vlin200 vlin500 vlin1000 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
473 " error code starting with ERR_ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
474 syn keyword rapidConstant ERR_ACC_TOO_LOW ERR_ACTIV_PROF ERR_ADDR_INUSE ERR_ALIASIO_DEF ERR_ALIASIO_TYPE ERR_ALRDYCNT ERR_ALRDY_MOVING ERR_AO_LIM ERR_ARGDUPCND ERR_ARGNAME ERR_ARGNOTPER ERR_ARGNOTVAR ERR_ARGVALERR ERR_ARRAY_SIZE ERR_AXIS_ACT ERR_AXIS_IND ERR_AXIS_MOVING ERR_AXIS_PAR |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
475 syn keyword rapidConstant ERR_BUSSTATE ERR_BWDLIMIT |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
476 syn keyword rapidConstant ERR_CALC_DIVZERO ERR_CALC_NEG ERR_CALC_OVERFLOW ERR_CALLIO_INTER ERR_CALLPROC ERR_CAM_BUSY ERR_CAM_COM_TIMEOUT ERR_CAM_GET_MISMATCH ERR_CAM_MAXTIME ERR_CAM_NO_MORE_DATA ERR_CAM_NO_PROGMODE ERR_CAM_NO_RUNMODE ERR_CAM_SET_MISMATCH |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
477 syn keyword rapidConstant ERR_CFG_ILLTYPE ERR_CFG_ILL_DOMAIN ERR_CFG_INTERNAL ERR_CFG_LIMIT ERR_CFG_NOTFND ERR_CFG_OUTOFBOUNDS ERR_CFG_WRITEFILE |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
478 syn keyword rapidConstant ERR_CNTNOTVAR |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
479 syn keyword rapidConstant ERR_CNV_CONNECT ERR_CNV_DROPPED ERR_CNV_NOT_ACT |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
480 syn keyword rapidConstant ERR_COLL_STOP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
481 syn keyword rapidConstant ERR_COMM_EXT ERR_COMM_INIT ERR_COMM_INIT_FAILED |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
482 syn keyword rapidConstant ERR_CONC_MAX ERR_CONTACTL ERR_CSV_INDEX |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
483 syn keyword rapidConstant ERR_DA_UNKPROC ERR_DATA_RECV ERR_DEV_MAXTIME ERR_DIPLAG_LIM ERR_DIVZERO ERR_DROP_LOAD ERR_EXCRTYMAX ERR_EXECPHR |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
484 syn keyword rapidConstant ERR_FILEACC ERR_FILEEXIST ERR_FILEOPEN ERR_FILESIZE ERR_FILNOTFND |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
485 syn keyword rapidConstant ERR_FNCNORET ERR_FRAME ERR_FRICTUNE_FATAL ERR_GLUEFLOW ERR_GO_LIM |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
486 syn keyword rapidConstant ERR_HAND_FAILEDGRIPPOS ERR_HAND_FAILEDMOVEPOS ERR_HAND_FAILEDVACUUM ERR_HAND_NOTCALIBRATED |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
487 syn keyword rapidConstant ERR_ILLDIM ERR_ILLQUAT ERR_ILLRAISE |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
488 syn keyword rapidConstant ERR_INDCNV_ORDER ERR_INOISSAFE ERR_INOMAX ERR_INPAR_RDONLY ERR_INT_MAXVAL ERR_INT_NOTVAL ERR_INVDIM |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
489 syn keyword rapidConstant ERR_IODISABLE ERR_IODN_TIMEOUT ERR_IOENABLE ERR_IOERROR ERR_IPSDEVICE_UNKNOWN ERR_IPSILLEGAL_CH_OR_FAC ERR_IPS_PARAM |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
490 syn keyword rapidConstant ERR_ITMSRC_UNDEF ERR_LINKREF ERR_LOADED ERR_LOADID_FATAL ERR_LOADID_RETRY ERR_LOADNO_INUSE ERR_LOADNO_NOUSE |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
491 syn keyword rapidConstant ERR_MSG_PENDING ERR_MAXINTVAL ERR_MOC_CNV_REC_FILE_UNKNOWN ERR_MODULE ERR_MOD_NOT_LOADED ERR_MOD_NOTLOADED |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
492 syn keyword rapidConstant ERR_MT_ABORT ERR_MT_HOME ERR_MT_HOMERUN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
493 syn keyword rapidConstant ERR_NEGARG ERR_NAME_INVALID ERR_NORUNUNIT ERR_NOTARR ERR_NOTEQDIM ERR_NOTINTVAL ERR_NOTPRES ERR_NOTSAVED ERR_NOT_MOVETASK ERR_NO_ALIASIO_DEF ERR_NO_SGUN ERR_NUM_LIMIT |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
494 syn keyword rapidConstant ERR_OUTOFBND ERR_OUTSIDE_REACH ERR_OVERFLOW ERR_PATH ERR_PATHDIST ERR_PATH_STOP ERR_PERSSUPSEARCH ERR_PID_MOVESTOP ERR_PID_RAISE_PP ERR_PPA_TIMEOUT ERR_PRGMEMFULL ERR_PROCSIGNAL_OFF ERR_PROGSTOP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
495 syn keyword rapidConstant ERR_RANYBIN_CHK ERR_RANYBIN_EOF ERR_RCVDATA ERR_REFUNKDAT ERR_REFUNKFUN ERR_REFUNKPRC ERR_REFUNKTRP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
496 syn keyword rapidConstant ERR_RMQ_DIM ERR_RMQ_FULL ERR_RMQ_INVALID ERR_RMQ_INVMSG ERR_RMQ_MSGSIZE ERR_RMQ_NAME ERR_RMQ_NOMSG ERR_RMQ_TIMEOUT ERR_RMQ_VALUE |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
497 syn keyword rapidConstant ERR_ROBLIMIT ERR_SC_WRITE |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
498 syn keyword rapidConstant ERR_SGUN_ESTOP ERR_SGUN_MOTOFF ERR_SGUN_NEGVAL ERR_SGUN_NOTACT ERR_SGUN_NOTINIT ERR_SGUN_NOTOPEN ERR_SGUN_NOTSYNC |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
499 syn keyword rapidConstant ERR_SIG_NAME ERR_SIGSUPSEARCH ERR_SIG_NOT_VALID |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
500 syn keyword rapidConstant ERR_SOCK_ADDR_INVALID ERR_SOCK_ADDR_INUSE ERR_SOCK_CLOSED ERR_SOCK_IS_BOUND ERR_SOCK_IS_CONN ERR_SOCK_NET_UNREACH ERR_SOCK_NOT_BOUND ERR_SOCK_NOT_CONN ERR_SOCK_TIMEOUT ERR_SOCK_UNSPEC |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
501 syn keyword rapidConstant ERR_SPEEDLIM_VALUE ERR_SPEED_REFRESH_LIM |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
502 syn keyword rapidConstant ERR_STARTMOVE ERR_STORE_PROF ERR_STRTOOLNG ERR_SYMBOL_TYPE ERR_SYM_ACCESS ERR_SYNCMOVEOFF ERR_SYNCMOVEON ERR_SYNTAX |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
503 syn keyword rapidConstant ERR_TASKNAME |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
504 syn keyword rapidConstant ERR_TP_DIBREAK ERR_TP_DOBREAK ERR_TP_MAXTIME ERR_TP_NO_CLIENT ERR_TP_PERSBOOLBREAK |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
505 syn keyword rapidConstant ERR_TRUSTLEVEL ERR_TXTNOEXIST ERR_UDPUC_COMM |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
506 syn keyword rapidConstant ERR_UISHOW_FATAL ERR_UISHOW_FULL ERR_UI_INITVALUE ERR_UI_MAXMIN ERR_UI_NOTINT |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
507 syn keyword rapidConstant ERR_UNIT_PAR ERR_UNKINO ERR_UNKPROC ERR_UNLOAD ERR_USE_PROF |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
508 syn keyword rapidConstant ERR_WAITSYNCTASK ERR_WAIT_MAX ERR_WAIT_MAXTIME ERR_WHL_SEARCH ERR_WHLSEARCH ERR_WOBJ_MOVING |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
509 " error codes starting with CORR_ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
510 syn keyword rapidConstant CORR_NOFREE CORR_NOOBJECT CORR_NOTCONN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
511 " error codes starting with SEN_ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
512 syn keyword rapidConstant SEN_BUSY SEN_CAALARM SEN_CAMCHECK SEN_EXALARM SEN_GENERRO SEN_NO_MEAS SEN_NOREADY SEN_TEMP SEN_TIMEOUT SEN_UNKNOWN SEN_VALUE |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
513 " error codes starting with SYS_ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
514 syn keyword rapidConstant SYS_ERR_ARL_INPAR_RDONLY SYS_ERR_HW_SMB_WARNING_BATTERY_LOW SYS_ERR_MOC_CNV_REC_FILE_UNKNOWN SYS_ERR_MOC_CNV_REC_NOT_READY |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
515 " error codes starting with TC_ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
516 syn keyword rapidConstant TC_ERR_AIR TC_ERR_CLOSE_COV TC_ERR_DOUNLOCK TC_ERR_IO TC_ERR_IOCFG TC_ERR_LOCK TC_ERR_NOTOOL TC_ERR_OPEN_COV TC_ERR_POWER TC_ERR_PULOCK TC_ERR_ROBPOS TC_ERR_ROBPOS_DROP TC_ERR_ROBPOS_PICK TC_ERR_SERVO_TOOL TC_ERR_STANDNUM TC_ERR_TOOL TC_ERR_TOOLCFG TC_ERR_TOOLNUM TC_ERR_UNLOCK |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
517 " long jump error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
518 syn keyword rapidConstant LONG_JMP_ALL_ERR |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
519 " Arc and Arc sensor |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
520 syn keyword rapidConstant AW_IGNI_ERR AW_EQIP_ERR AW_START_ERR AW_STOP_ERR AW_TRACK_ERR AW_TRACKCORR_ERR AW_TRACKSTA_ERR AW_USERSIG_ERR AW_WELD_ERR AW_WIRE_ERR |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
521 " EGM egmframetype |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
522 syn keyword rapidConstant EGM_FRAME_BASE EGM_FRAME_TOOL EGM_FRAME_WOBJ EGM_FRAME_WORLD EGM_FRAME_JOINT |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
523 " Events |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
524 syn keyword rapidConstant EE_START EE_CYCLE_START EE_PROC_START EE_PRE_PROD EE_CLOSE_JIG EE_INDEX EE_PRE_PART EE_POST_PART EE_OPEN_JIG EE_SERVICE EE_POST_PROD EE_ABORT EE_WAIT_ORDER EE_POST_PROC |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
525 syn keyword rapidConstant EE_POWERON EE_POWERON_OR_START EE_RESTART EE_START_OR_RESTART EE_STOP EE_QSTOP EE_STOP_OR_QSTOP EE_RESET EE_STEP EE_STEP_FWD EE_STEP_BCK EE_BEFORE_INIT EE_AFTER_INIT EE_BEFORE_PROD EE_AFTER_PROD EE_BEFORE_MENU EE_AFTER_MENU |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
526 syn keyword rapidConstant EE_ERROR EE_HOMERUN EE_PROG_END EE_AFTER_PROG_NUMBER EE_PROGNO_UNKNOWN EE_PROD_UNKNOWN EE_MSG_WRITTEN EE_MSG_ACKNOWLEDGED EE_AFTER_PART EE_BEFORE_HOMERUN EE_AFTER_HOMERUN EE_BLOCKED |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
527 " motion process mode |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
528 syn keyword rapidConstant OPTIMAL_CYCLE_TIME_MODE LOW_SPEED_ACCURACY_MODE LOW_SPEED_STIFF_MODE ACCURACY_MODE MPM_USER_MODE_1 MPM_USER_MODE_2 MPM_USER_MODE_3 MPM_USER_MODE_4 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
529 " inttypes |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
530 syn keyword rapidConstant USINT UINT UDINT ULINT SINT INT DINT LINT |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
531 " opcalc |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
532 syn keyword rapidConstant OpAdd OpSub OpMult OpDiv OpMod |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
533 " triggmode |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
534 syn keyword rapidConstant TRIGG_MODE1 TRIGG_MODE2 TRIGG_MODE3 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
535 " tunetype |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
536 syn keyword rapidConstant TUNE_DF TUNE_KP TUNE_KV TUNE_TI TUNE_FRIC_LEV TUNE_FRIC_RAMP TUNE_DG TUNE_DH TUNE_DI TUNE_DK TUNE_DL |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
537 " cellopmode |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
538 syn keyword rapidConstant OP_NO_ROBOT OP_SERVICE OP_PRODUCTION |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
539 " execution mode |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
540 syn keyword rapidConstant CT_CONTINUOUS CT_COUNT_CYCLES CT_COUNT_CYC_ACTION CT_PERIODICAL |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
541 " Force Control |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
542 syn keyword rapidConstant FC_REFFRAME_TOOL FC_REFFRAME_WOBJ FC_LIN_X FC_LIN_Y FC_LIN_Z FC_ROT_X FC_ROT_Y FC_ROT_Z FC_SPEED_RATIO_MIN FC_NO_OF_SPEED_LEVELS |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
543 " tpnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
544 syn keyword rapidConstant TP_LATEST TP_PROGRAM TP_SCREENVIEWER |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
545 " paridvalidnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
546 syn keyword rapidConstant ROB_LOAD_VAL ROB_NOT_LOAD_VAL ROB_LM1_LOAD_VAL |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
547 " paridnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
548 syn keyword rapidConstant TOOL_LOAD_ID PAY_LOAD_ID IRBP_K IRBP_L IRBP_C IRBP_C_INDEX IRBP_T IRBP_R IRBP_A IRBP_B IRBP_D |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
549 " loadidnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
550 syn keyword rapidConstant MASS_KNOWN MASS_WITH_AX3 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
551 " sensorstate |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
552 syn keyword rapidConstant STATE_ERROR STATE_UNDEFINED STATE_CONNECTED STATE_OPERATING STATE_CLOSED |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
553 " signalorigin |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
554 syn keyword rapidConstant SIGORIG_NONE SIGORIG_CFG SIGORIG_ALIAS |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
555 " aiotrigg |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
556 syn keyword rapidConstant AIO_ABOVE_HIGH AIO_BELOW_HIGH AIO_ABOVE_LOW AIO_BELOW_LOW AIO_BETWEEN AIO_OUTSIDE AIO_ALWAYS |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
557 " socketstatus |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
558 syn keyword rapidConstant SOCKET_CREATED SOCKET_CONNECTED SOCKET_BOUND SOCKET_LISTENING SOCKET_CLOSED |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
559 " symnum of OpMode() |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
560 syn keyword rapidConstant OP_UNDEF OP_AUTO OP_MAN_PROG OP_MAN_TEST |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
561 " symnum of RunMode() |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
562 syn keyword rapidConstant RUN_UNDEF RUN_CONT_CYCLE RUN_INSTR_FWD RUN_INSTR_BWD RUN_SIM RUN_STEP_MOVE |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
563 " event_type of EventType() |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
564 syn keyword rapidConstant EVENT_NONE EVENT_POWERON EVENT_START EVENT_STOP EVENT_QSTOP EVENT_RESTART EVENT_RESET EVENT_STEP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
565 " handler_type of ExecHandler() |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
566 syn keyword rapidConstant HANDLER_NONE HANDLER_BWD HANDLER_ERR HANDLER_UNDO |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
567 " event_level of ExecLevel() |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
568 syn keyword rapidConstant LEVEL_NORMAL LEVEL_TRAP LEVEL_SERVICE |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
569 " signalorigin of GetSignalOrigin() |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
570 syn keyword rapidConstant SIGORIG_NONE SIGORIG_CFG SIGORIG_ALIAS |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
571 " opnum |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
572 syn keyword rapidConstant LT LTEQ EQ NOTEQ GT GTEQ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
573 " icondata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
574 syn keyword rapidConstant iconNone iconInfo iconWarning iconError |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
575 " buttondata |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
576 syn keyword rapidConstant btnNone btnOK btnAbrtRtryIgn btnOKCancel btnRetryCancel btnYesNo btnYesNoCancel |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
577 " btnres |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
578 syn keyword rapidConstant resUnkwn resOK resAbort resRetry resIgnore resCancel resYes resNo |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
579 " cfgdomain |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
580 syn keyword rapidConstant ALL_DOMAINS EIO_DOMAIN MMC_DOMAIN MOC_DOMAIN PROC_DOMAIN SIO_DOMAIN SYS_DOMAIN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
581 " errdomain |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
582 syn keyword rapidConstant COMMON_ERR OP_STATE SYSTEM_ERR HARDWARE_ERR PROGRAM_ERR MOTION_ERR OPERATOR_ERR IO_COM_ERR USER_DEF_ERR SAFETY_ERR PROCESS_ERR CFG_ERR OPTION_PROD_ERR ARCWELD_ERR SPOTWELD_ERR PAINT_ERR PICKWARE_ERR |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
583 " errtype |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
584 syn keyword rapidConstant TYPE_ALL TYPE_ERR TYPE_STATE TYPE_WARN |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
585 " Sensor Interface |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
586 syn keyword rapidConstant LTAPP__AGE LTAPP__ANGLE LTAPP__AREA LTAPP__CAMCHECK LTAPP__GAP LTAPP__JOINT_NO LTAPP__LASER_OFF LTAPP__MISMATCH LTAPP__PING LTAPP__POWER_UP LTAPP__RESET LTAPP__STEPDIR LTAPP__THICKNESS LTAPP__UNIT |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
587 syn keyword rapidConstant LTAPP__X LTAPP__Y LTAPP__Z LTAPP__APM_P1 LTAPP__APM_P2 LTAPP__APM_P3 LTAPP__APM_P4 LTAPP__APM_P5 LTAPP__APM_P6 LTAPP__ROT_Y LTAPP__ROT_Z LTAPP__X0 LTAPP__Y0 LTAPP__Z0 LTAPP__X1 LTAPP__Y1 LTAPP__Z1 LTAPP__X2 LTAPP__Y2 LTAPP__Z2 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
588 " iounit_state |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
589 syn keyword rapidConstant IOUNIT_LOG_STATE_DISABLED IOUNIT_LOG_STATE_ENABLED IOUNIT_PHYS_STATE_DEACTIVATED IOUNIT_PHYS_STATE_RUNNING IOUNIT_PHYS_STATE_ERROR IOUNIT_PHYS_STATE_UNCONNECTED IOUNIT_PHYS_STATE_UNCONFIGURED IOUNIT_PHYS_STATE_STARTUP IOUNIT_PHYS_STATE_INIT IOUNIT_RUNNING IOUNIT_RUNERROR IOUNIT_DISABLE IOUNIT_OTHERERR |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
590 " busstate |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
591 syn keyword rapidConstant IOBUS_LOG_STATE_STARTED IOBUS_LOG_STATE_STOPPED IOBUS_PHYS_STATE_ERROR IOBUS_PHYS_STATE_HALTED IOBUS_PHYS_STATE_INIT IOBUS_PHYS_STATE_RUNNING IOBUS_PHYS_STATE_STARTUP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
592 syn keyword rapidConstant BUSSTATE_ERROR BUSSTATE_HALTED BUSSTATE_INIT BUSSTATE_RUN BUSSTATE_STARTUP |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
593 " SoftMove |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
594 syn keyword rapidConstant CSS_POSX CSS_NEGX CSS_POSY CSS_NEGY CSS_POSZ CSS_NEGZ CSS_X CSS_Y CSS_Z CSS_XY CSS_XZ CSS_YZ CSS_XYZ CSS_XYRZ CSS_ARM_ANGLE CSS_REFFRAME_TOOL CSS_REFFRAME_WOBJ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
595 " tsp_status |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
596 syn keyword rapidConstant TSP_STATUS_NOT_NORMAL_TASK TSP_STATUS_DEACT TSP_STATUS_DEACT_SERV_ROUT TSP_STATUS_ACT TSP_UNCHECKED_RUN_SERV_ROUT TSP_NORMAL_UNCHECKED TSP_STATIC_UNCHECKED TSP_SEMISTATIC_UNCHECKED TSP_NORMAL_CHECKED TSP_STATIC_CHECKED TSP_SEMISTATIC_CHECKED |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
597 " IRC5P (paint controller) |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
598 syn keyword rapidConstant PW_EQUIP_ERR |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
599 " Bulls Eye |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
600 syn keyword rapidConstant BESuccess BENoOverwrite BENoNameMatch BENoBEDataMod BEArrayFull BEToolNotFound BEInvalidSignal BEAliasSet BERangeLimFail BERangeSingFail BERangeTiltFail BEScanPlaneErr BEBFrameNotRead BEScanRadZero BEHeightSrchErr BEBeamNotFound BEBeamSpinErr BESrchErrInBeam BESrchErrNoDet BENumOfScansErr BEDiaZeroOrLess BESliceCountErr BEGetNewTcpMax BEBeamOriFail BEGetTcpDelErr BERefPosSetErr BERefToolSetErr BERefBeamSetErr BEBFrameDefErr BESetupAlready BERefResetErr BESetupFailed BEToolNotSet BEStartChanged BEBeamMoveErr BECheckTcp BECheckErr BESkipUpdate BEStrtningErr BEAllNotSet BEQuikRefNotDef BEConvergErr BEInstFwdErr BEGetGantryErr BEUnknownErr |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
601 " Continuous Application Platform constants |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
602 syn keyword rapidConstant CAP_START START_PRE PRE_STARTED START_MAIN MAIN_STARTED STOP_WEAVESTART WEAVESTART_REGAIN MOTION_DELAY STARTSPEED_TIME MAIN_MOTION MOVE_STARTED RESTART NEW_INSTR AT_POINT AT_RESTARTPOINT LAST_SEGMENT PROCESS_END_POINT END_MAIN MAIN_ENDED PATH_END_POINT PROCESS_ENDED END_POST1 POST1_ENDED END_POST2 POST2_ENDED CAP_STOP CAP_PF_RESTART EQUIDIST AT_ERRORPOINT FLY_START FLY_END LAST_INSTR_ENDED END_PRE PRE_ENDED START_POST1 POST1_STARTED START_POST2 POST2_STARTED |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
603 syn keyword rapidConstant CAP_PRE_ERR CAP_PRESTART_ERR CAP_END_PRE_ERR CAP_START_ERR CAP_MAIN_ERR CAP_ENDMAIN_ERR CAP_START_POST1_ERR CAP_POST1_ERR CAP_POST1END_ERR CAP_START_POST2_ERR CAP_POST2_ERR CAP_POST2END_ERR CAP_TRACK_ERR CAP_TRACKSTA_ERR CAP_TRACKCOR_ERR CAP_TRACKCOM_ERR CAP_TRACKPFR_ERR CAP_SEN_NO_MEAS CAP_SEN_NOREADY CAP_SEN_GENERRO CAP_SEN_BUSY CAP_SEN_UNKNOWN CAP_SEN_ILLEGAL CAP_SEN_EXALARM CAP_SEN_CAALARM CAP_SEN_TEMP CAP_SEN_VALUE CAP_SEN_CAMCHECK CAP_SEN_TIMEOUT |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
604 " Machine Tending grppos |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
605 syn keyword rapidConstant gsOpen gsVacuumOff gsBackward gsClose gsVacuumOn gsForward gsReset |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
606 " Machine Tending grpaction |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
607 syn keyword rapidConstant gaSetAndCheck gaSet gaCheck gaCheckClose gaCheckClose |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
608 " Palletizing PowerPac |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
609 syn keyword rapidConstant PM_ERR_AXLIM PM_ERR_CALCCONF PM_ERR_FLOW_NOT_FOUND PM_ERR_INVALID_FLOW_STOP_OPTION PM_ERR_JOB_EMPTY PM_ERR_LIM_VALUE PM_ERR_NO_RUNNING_PROJECT PM_ERR_NO_TASK PM_ERR_NOT_VALID_RECOVER_ACTION PM_ERR_OPERATION_LOST PM_ERR_PALLET_EMPTY PM_ERR_PALLET_REDUCED PM_ERR_PART_VAL PM_ERR_PROJ_NOT_FOUND PM_ERR_REDO_LAST_PICK_REJECTED PM_ERR_TIMEOUT PM_ERR_WA_NOT_FOUND PM_ERR_WOBJ PM_ERR_WORKAREA_EXPECTED PM_ERR_WRONG_FLOW_STATE |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
610 syn keyword rapidConstant PM_ACK PM_NACK PM_LOST PM_RECOVER_CONTINUE_OPERATION PM_RECOVER_REDO_LAYER PM_RECOVER_NEXT_PALLET PM_RECOVER_REDO_LAST_PICK PM_FLOW_ERROR PM_FLOW_FINISH_CYCLE PM_FLOW_FINISH_LAYER PM_FLOW_FINISH_PALLET PM_FLOW_RUNNING PM_FLOW_STOP_IMMEDIATELY PM_FLOW_STOPPED PM_FLOW_STOPPING_AFTER_CYCLE PM_FLOW_STOPPING_AFTER_LAYER PM_FLOW_STOPPING_AFTER_PALLET PM_APPROACH_POS PM_DEPART_POS PM_TARGET_POS PM_EVENT_PROC PM_EVENT_DO PM_EVENT_GO PM_MOVE_JOINT PM_MOVE_LIN PM_SEARCH_X PM_SEARCH_Y PM_SEARCH_Z PM_SING_AREA_OFF PM_SING_AREA_WRI PM_STOP_NOT_USED PM_STOP PM_PSTOP PM_SSTOP PM_PROJECT_STOPPED PM_PROJECT_STOPPING PM_PROJECT_STARTING PM_PROJECT_RUNNING PM_PROJECT_ERROR |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
611 syn keyword rapidConstant MaxToolAngle MinToolAngle |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
612 " other constants |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
613 syn keyword rapidConstant GAP_SERVICE_TYPE GAP_SETUP_TYPE GAP_STATE_IDLE GAP_STATE_PART GAP_STATE_SERV GAP_STATE_SETUP GAP_STATE_UNKN GAP_TASK_NAME GAP_TASK_NO GAP_SHOW_ALWAYS GAP_SHOW_NEVER GAP_SHOW_SAFE GAP_SHOW_SERVICE |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
614 syn keyword rapidConstant EOF EOF_BIN EOF_NUM |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
615 syn keyword rapidConstant END_OF_LIST WAIT_MAX |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
616 syn keyword rapidErrNo ERRNO |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
617 syn keyword rapidIntNo INTNO |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
618 " VW Konzernstandard VWKS_1.07.02 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
619 syn keyword rapidIntNo KG_UNDEFINIERT KG_LETZTEPOS KG_GREIFPOS KG_ZWISCHENPOS KG_TOOLINFO KG_GREIFPOSKORR |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
620 syn keyword rapidIntNo BA1 BA2 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
621 syn keyword rapidIntNo SetupXY SetupZ KorrekturXY KorrekturZ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
622 if g:rapidGroupName |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
623 highlight default link rapidConstant Sysvars |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
624 highlight default link rapidErrNo Sysvars |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
625 highlight default link rapidIntNo Sysvars |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
626 endif |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
627 " }}} ERRNO Constants |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
628 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
629 " Error {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
630 if get(g:,'rapidShowError',1) |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
631 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
632 " vars or funcs >32 chars are not possible in rapid. a234567890123456789012345 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
633 syn match rapidErrorIdentifierNameTooLong /\k\{33,}/ containedin=rapidFunction,rapidNames,rapidLabel |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
634 highlight default link rapidErrorIdentifierNameTooLong Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
635 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
636 " a == b + 1 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
637 syn match rapidErrorShouldBeColonEqual /\c\v%(^\s*%(%(TASK\s+|LOCAL\s+)?%(VAR|PERS|CONST)\s+\k+\s+)?\k+%(\k|[.{},*/+-])*\s*)@<=\=/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
638 highlight default link rapidErrorShouldBeColonEqual Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
639 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
640 " WaitUntil a==b |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
641 syn match rapidErrorShouldBeEqual /\c\v%(^\s*%(Return|WaitUntil|while)>[^!\\]+[^!<>])@<=%(\=|:)\=/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
642 syn match rapidErrorShouldBeEqual /\c\v%(^\s*%(if|elseif)>[^!\\]+[^!<>])@<=%(\=|:)\=\ze[^!\\]+<then>/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
643 highlight default link rapidErrorShouldBeEqual Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
644 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
645 " WaitUntil a=>b |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
646 syn match rapidErrorShoudBeLessOrGreaterEqual /\c\v%(^\s*%(Return|WaitUntil|if|elseif|while)>[^!]+[^!<>])@<=\=[><]/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
647 highlight default link rapidErrorShoudBeLessOrGreaterEqual Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
648 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
649 " WaitUntil a><b |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
650 syn match rapidErrorShouldBeLessGreater /\c\v%(^\s*%(Return|WaitUntil|if|elseif|while)[^!]+)@<=\>\s*\</ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
651 highlight default link rapidErrorShouldBeLessGreater Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
652 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
653 " if (a==5) (b==6) |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
654 syn match rapidErrorMissingOperator /\c\v%(^\s*%(Return|WaitUntil|if|elseif|while)[^!]+[^!])@<=\)\s*\(/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
655 highlight default link rapidErrorMissingOperator Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
656 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
657 " "for" missing "from" |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
658 syn match rapidErrorMissingFrom /\c\v^\s*for\s+%([[:upper:][:lower:]]%(\k|[.{},*/+-])*\s+from)@!\S+\s+\S+/ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
659 highlight default link rapidErrorMissingFrom Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
660 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
661 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
662 endif |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
663 " }}} Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
664 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
665 " }}} |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
666 endif |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
667 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
668 " common Error {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
669 if get(g:,'rapidShowError',1) |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
670 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
671 " This error must be defined after rapidString |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
672 " string too long |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
673 " syn match rapidErrorStringTooLong /\v%("%(""|\\\\|\\\x\x|[^"\\]){80})@240<=%([^"]|"{2})+/ contained contains=rapidStringDoubleQuote,rapidEscapedBackSlash,rapidCharCode,rapidErrorSingleBackslash |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
674 highlight default link rapidErrorStringTooLong Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
675 " |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
676 endif |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
677 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
678 " }}} Error |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
679 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
680 " Finish {{{ |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
681 let &cpo = s:keepcpo |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
682 unlet s:keepcpo |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
683 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
684 let b:current_syntax = "rapid" |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
685 " }}} Finish |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
686 |
3dd63e73de28
Update krl and add rapid syntax files (#12750)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
687 " vim:sw=2 sts=2 et fdm=marker |