annotate runtime/syntax/postscr.vim @ 7683:ec434c82f72c v7.4.1140

commit https://github.com/vim/vim/commit/e266d6d664d6d743c79797af400b2c01ec746216 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 19 20:51:32 2016 +0100 patch 7.4.1140 Problem: Recognizing <sid> does not work when the language is Turkish. (Christian Brabandt) Solution: Use MB_STNICMP() instead of STNICMP().
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Jan 2016 21:00:07 +0100
parents 149d8b46404c
children 43efa4f5a8ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: PostScript - all Levels, selectable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Mike Williams <mrw@eandem.co.uk>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Filenames: *.ps,*.eps
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
5 " Last Change: 31st October 2007
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
6 " URL: http://www.eandem.co.uk/mrw/vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " Options Flags:
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
9 " postscr_level - language level to use for highligting (1, 2, or 3)
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
10 " postscr_display - include display PS operators
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
11 " postscr_ghostscript - include GS extensions
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
12 " postscr_fonts - highlight standard font names (a lot for PS 3)
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
13 " postscr_encodings - highlight encoding names (there are a lot)
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
14 " postscr_andornot_binary - highlight and, or, and not as binary operators (not logical)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " For version 5.x: Clear all syntax items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " For version 6.x: Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 " PostScript is case sensitive
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 " Keyword characters - all 7-bit ASCII bar PS delimiters and ws
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 if version >= 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 setlocal iskeyword=33-127,^(,^),^<,^>,^[,^],^{,^},^/,^%
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 set iskeyword=33-127,^(,^),^<,^>,^[,^],^{,^},^/,^%
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 " Yer trusty old TODO highlghter!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn keyword postscrTodo contained TODO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 " Comment
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
38 syn match postscrComment "%.*$" contains=postscrTodo,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 " DSC comment start line (NB: defines DSC level, not PS level!)
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
40 syn match postscrDSCComment "^%!PS-Adobe-\d\+\.\d\+\s*.*$"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 " DSC comment line (no check on possible comments - another language!)
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
42 syn match postscrDSCComment "^%%\u\+.*$" contains=@postscrString,@postscrNumber,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 " DSC continuation line (no check that previous line is DSC comment)
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
44 syn match postscrDSCComment "^%%+ *.*$" contains=@postscrString,@postscrNumber,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 " Names
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
47 syn match postscrName "\k\+"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 " Identifiers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn match postscrIdentifierError "/\{1,2}[[:space:]\[\]{}]"me=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn match postscrIdentifier "/\{1,2}\k\+" contains=postscrConstant,postscrBoolean,postscrCustConstant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 " Numbers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 " In file hex data - usually complete lines
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
56 syn match postscrHex "^[[:xdigit:]][[:xdigit:][:space:]]*$"
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
57 "syn match postscrHex "\<\x\{2,}\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 " Integers
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
59 syn match postscrInteger "\<[+-]\=\d\+\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 " Radix
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
61 syn match postscrRadix "\d\+#\x\+\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 " Reals - upper and lower case e is allowed
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
63 syn match postscrFloat "[+-]\=\d\+\.\>"
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
64 syn match postscrFloat "[+-]\=\d\+\.\d*\(e[+-]\=\d\+\)\=\>"
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
65 syn match postscrFloat "[+-]\=\.\d\+\(e[+-]\=\d\+\)\=\>"
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
66 syn match postscrFloat "[+-]\=\d\+e[+-]\=\d\+\>"
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
67 syn cluster postscrNumber contains=postscrInteger,postscrRadix,postscrFloat
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 " Escaped characters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn match postscrSpecialChar contained "\\[nrtbf\\()]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn match postscrSpecialCharError contained "\\[^nrtbf\\()]"he=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 " Escaped octal characters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn match postscrSpecialChar contained "\\\o\{1,3}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 " Strings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 " ASCII strings
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
78 syn region postscrASCIIString start=+(+ end=+)+ skip=+([^)]*)+ contains=postscrSpecialChar,postscrSpecialCharError,@Spell
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
79 syn match postscrASCIIStringError ")"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 " Hex strings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn match postscrHexCharError contained "[^<>[:xdigit:][:space:]]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syn region postscrHexString start=+<\($\|[^<]\)+ end=+>+ contains=postscrHexCharError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn match postscrHexString "<>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 " ASCII85 strings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn match postscrASCII85CharError contained "[^<>\~!-uz[:space:]]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn region postscrASCII85String start=+<\~+ end=+\~>+ contains=postscrASCII85CharError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn cluster postscrString contains=postscrASCIIString,postscrHexString,postscrASCII85String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 " Set default highlighting to level 2 - most common at the moment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 if !exists("postscr_level")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 let postscr_level = 2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 " PS level 1 operators - common to all levels (well ...)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 " Stack operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn keyword postscrOperator pop exch dup copy index roll clear count mark cleartomark counttomark
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 " Math operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn keyword postscrMathOperator add div idiv mod mul sub abs neg ceiling floor round truncate sqrt atan cos
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn keyword postscrMathOperator sin exp ln log rand srand rrand
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 " Array operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn match postscrOperator "[\[\]{}]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn keyword postscrOperator array length get put getinterval putinterval astore aload copy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn keyword postscrRepeat forall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 " Dictionary operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn keyword postscrOperator dict maxlength begin end def load store known where currentdict
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn keyword postscrOperator countdictstack dictstack cleardictstack internaldict
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn keyword postscrConstant $error systemdict userdict statusdict errordict
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 " String operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn keyword postscrOperator string anchorsearch search token
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 " Logic operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn keyword postscrLogicalOperator eq ne ge gt le lt and not or
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 if exists("postscr_andornot_binaryop")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn keyword postscrBinaryOperator and or not
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn keyword postscrLogicalOperator and not or
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn keyword postscrBinaryOperator xor bitshift
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn keyword postscrBoolean true false
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 " PS Type names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn keyword postscrConstant arraytype booleantype conditiontype dicttype filetype fonttype gstatetype
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn keyword postscrConstant integertype locktype marktype nametype nulltype operatortype
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn keyword postscrConstant packedarraytype realtype savetype stringtype
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 " Control operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn keyword postscrConditional if ifelse
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn keyword postscrRepeat for repeat loop
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn keyword postscrOperator exec exit stop stopped countexecstack execstack quit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn keyword postscrProcedure start
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 " Object operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syn keyword postscrOperator type cvlit cvx xcheck executeonly noaccess readonly rcheck wcheck cvi cvn cvr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn keyword postscrOperator cvrs cvs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 " File operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syn keyword postscrOperator file closefile read write readhexstring writehexstring readstring writestring
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syn keyword postscrOperator bytesavailable flush flushfile resetfile status run currentfile print
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syn keyword postscrOperator stack pstack readline deletefile setfileposition fileposition renamefile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn keyword postscrRepeat filenameforall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syn keyword postscrProcedure = ==
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 " VM operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syn keyword postscrOperator save restore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 " Misc operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syn keyword postscrOperator bind null usertime executive echo realtime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syn keyword postscrConstant product revision serialnumber version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syn keyword postscrProcedure prompt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 " GState operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syn keyword postscrOperator gsave grestore grestoreall initgraphics setlinewidth setlinecap currentgray
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn keyword postscrOperator currentlinejoin setmiterlimit currentmiterlimit setdash currentdash setgray
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 syn keyword postscrOperator sethsbcolor currenthsbcolor setrgbcolor currentrgbcolor currentlinewidth
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syn keyword postscrOperator currentlinecap setlinejoin setcmykcolor currentcmykcolor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 " Device gstate operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syn keyword postscrOperator setscreen currentscreen settransfer currenttransfer setflat currentflat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syn keyword postscrOperator currentblackgeneration setblackgeneration setundercolorremoval
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 syn keyword postscrOperator setcolorscreen currentcolorscreen setcolortransfer currentcolortransfer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 syn keyword postscrOperator currentundercolorremoval
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 " Matrix operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 syn keyword postscrOperator matrix initmatrix identmatrix defaultmatrix currentmatrix setmatrix translate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 syn keyword postscrOperator concat concatmatrix transform dtransform itransform idtransform invertmatrix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syn keyword postscrOperator scale rotate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 " Path operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 syn keyword postscrOperator newpath currentpoint moveto rmoveto lineto rlineto arc arcn arcto curveto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 syn keyword postscrOperator closepath flattenpath reversepath strokepath charpath clippath pathbbox
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 syn keyword postscrOperator initclip clip eoclip rcurveto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 syn keyword postscrRepeat pathforall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 " Painting operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 syn keyword postscrOperator erasepage fill eofill stroke image imagemask colorimage
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 " Device operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 syn keyword postscrOperator showpage copypage nulldevice
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 " Character operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 syn keyword postscrProcedure findfont
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 syn keyword postscrConstant FontDirectory ISOLatin1Encoding StandardEncoding
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 syn keyword postscrOperator definefont scalefont makefont setfont currentfont show ashow
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 syn keyword postscrOperator stringwidth kshow setcachedevice
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 syn keyword postscrOperator setcharwidth widthshow awidthshow findencoding cshow rootfont setcachedevice2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 " Interpreter operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 syn keyword postscrOperator vmstatus cachestatus setcachelimit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 " PS constants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 syn keyword postscrConstant contained Gray Red Green Blue All None DeviceGray DeviceRGB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 " PS Filters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 syn keyword postscrConstant contained ASCIIHexDecode ASCIIHexEncode ASCII85Decode ASCII85Encode LZWDecode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 syn keyword postscrConstant contained RunLengthDecode RunLengthEncode SubFileDecode NullEncode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 syn keyword postscrConstant contained GIFDecode PNGDecode LZWEncode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 " PS JPEG filter dictionary entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 syn keyword postscrConstant contained DCTEncode DCTDecode Colors HSamples VSamples QuantTables QFactor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 syn keyword postscrConstant contained HuffTables ColorTransform
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 " PS CCITT filter dictionary entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 syn keyword postscrConstant contained CCITTFaxEncode CCITTFaxDecode Uncompressed K EndOfLine
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 syn keyword postscrConstant contained Columns Rows EndOfBlock Blacks1 DamagedRowsBeforeError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 syn keyword postscrConstant contained EncodedByteAlign
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 " PS Form dictionary entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 syn keyword postscrConstant contained FormType XUID BBox Matrix PaintProc Implementation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 " PS Errors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 syn keyword postscrProcedure handleerror
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 syn keyword postscrConstant contained configurationerror dictfull dictstackunderflow dictstackoverflow
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 syn keyword postscrConstant contained execstackoverflow interrupt invalidaccess
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 syn keyword postscrConstant contained invalidcontext invalidexit invalidfileaccess invalidfont
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 syn keyword postscrConstant contained invalidid invalidrestore ioerror limitcheck nocurrentpoint
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 syn keyword postscrConstant contained rangecheck stackoverflow stackunderflow syntaxerror timeout
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 syn keyword postscrConstant contained typecheck undefined undefinedfilename undefinedresource
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 syn keyword postscrConstant contained undefinedresult unmatchedmark unregistered VMerror
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 if exists("postscr_fonts")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 " Font names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 syn keyword postscrConstant contained Symbol Times-Roman Times-Italic Times-Bold Times-BoldItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 syn keyword postscrConstant contained Helvetica Helvetica-Oblique Helvetica-Bold Helvetica-BoldOblique
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 syn keyword postscrConstant contained Courier Courier-Oblique Courier-Bold Courier-BoldOblique
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 if exists("postscr_display")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 " Display PS only operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 syn keyword postscrOperator currentcontext fork join detach lock monitor condition wait notify yield
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 syn keyword postscrOperator viewclip eoviewclip rectviewclip initviewclip viewclippath deviceinfo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 syn keyword postscrOperator sethalftonephase currenthalftonephase wtranslation defineusername
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 " PS Character encoding names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 if exists("postscr_encodings")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 " Common encoding names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 syn keyword postscrConstant contained .notdef
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 " Standard and ISO encoding names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 syn keyword postscrConstant contained space exclam quotedbl numbersign dollar percent ampersand quoteright
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 syn keyword postscrConstant contained parenleft parenright asterisk plus comma hyphen period slash zero
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 syn keyword postscrConstant contained one two three four five six seven eight nine colon semicolon less
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 syn keyword postscrConstant contained equal greater question at
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 syn keyword postscrConstant contained bracketleft backslash bracketright asciicircum underscore quoteleft
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 syn keyword postscrConstant contained braceleft bar braceright asciitilde
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 syn keyword postscrConstant contained exclamdown cent sterling fraction yen florin section currency
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 syn keyword postscrConstant contained quotesingle quotedblleft guillemotleft guilsinglleft guilsinglright
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 syn keyword postscrConstant contained fi fl endash dagger daggerdbl periodcentered paragraph bullet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 syn keyword postscrConstant contained quotesinglbase quotedblbase quotedblright guillemotright ellipsis
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 syn keyword postscrConstant contained perthousand questiondown grave acute circumflex tilde macron breve
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 syn keyword postscrConstant contained dotaccent dieresis ring cedilla hungarumlaut ogonek caron emdash
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 syn keyword postscrConstant contained AE ordfeminine Lslash Oslash OE ordmasculine ae dotlessi lslash
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 syn keyword postscrConstant contained oslash oe germandbls
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 " The following are valid names, but are used as short procedure names in generated PS!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 " a b c d e f g h i j k l m n o p q r s t u v w x y z
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 " A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 " Symbol encoding names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 syn keyword postscrConstant contained universal existential suchthat asteriskmath minus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 syn keyword postscrConstant contained congruent Alpha Beta Chi Delta Epsilon Phi Gamma Eta Iota theta1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 syn keyword postscrConstant contained Kappa Lambda Mu Nu Omicron Pi Theta Rho Sigma Tau Upsilon sigma1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 syn keyword postscrConstant contained Omega Xi Psi Zeta therefore perpendicular
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 syn keyword postscrConstant contained radicalex alpha beta chi delta epsilon phi gamma eta iota phi1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 syn keyword postscrConstant contained kappa lambda mu nu omicron pi theta rho sigma tau upsilon omega1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 syn keyword postscrConstant contained Upsilon1 minute lessequal infinity club diamond heart spade
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 syn keyword postscrConstant contained arrowboth arrowleft arrowup arrowright arrowdown degree plusminus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 syn keyword postscrConstant contained second greaterequal multiply proportional partialdiff divide
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 syn keyword postscrConstant contained notequal equivalence approxequal arrowvertex arrowhorizex
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 syn keyword postscrConstant contained aleph Ifraktur Rfraktur weierstrass circlemultiply circleplus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 syn keyword postscrConstant contained emptyset intersection union propersuperset reflexsuperset notsubset
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 syn keyword postscrConstant contained propersubset reflexsubset element notelement angle gradient
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 syn keyword postscrConstant contained registerserif copyrightserif trademarkserif radical dotmath
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 syn keyword postscrConstant contained logicalnot logicaland logicalor arrowdblboth arrowdblleft arrowdblup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 syn keyword postscrConstant contained arrowdblright arrowdbldown omega xi psi zeta similar carriagereturn
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 syn keyword postscrConstant contained lozenge angleleft registersans copyrightsans trademarksans summation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 syn keyword postscrConstant contained parenlefttp parenleftex parenleftbt bracketlefttp bracketleftex
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 syn keyword postscrConstant contained bracketleftbt bracelefttp braceleftmid braceleftbt braceex euro
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 syn keyword postscrConstant contained angleright integral integraltp integralex integralbt parenrighttp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 syn keyword postscrConstant contained parenrightex parenrightbt bracketrighttp bracketrightex
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 syn keyword postscrConstant contained bracketrightbt bracerighttp bracerightmid bracerightbt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 " ISO Latin1 encoding names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 syn keyword postscrConstant contained brokenbar copyright registered twosuperior threesuperior
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 syn keyword postscrConstant contained onesuperior onequarter onehalf threequarters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 syn keyword postscrConstant contained Agrave Aacute Acircumflex Atilde Adieresis Aring Ccedilla Egrave
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 syn keyword postscrConstant contained Eacute Ecircumflex Edieresis Igrave Iacute Icircumflex Idieresis
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 syn keyword postscrConstant contained Eth Ntilde Ograve Oacute Ocircumflex Otilde Odieresis Ugrave Uacute
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 syn keyword postscrConstant contained Ucircumflex Udieresis Yacute Thorn
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 syn keyword postscrConstant contained agrave aacute acircumflex atilde adieresis aring ccedilla egrave
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 syn keyword postscrConstant contained eacute ecircumflex edieresis igrave iacute icircumflex idieresis
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 syn keyword postscrConstant contained eth ntilde ograve oacute ocircumflex otilde odieresis ugrave uacute
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 syn keyword postscrConstant contained ucircumflex udieresis yacute thorn ydieresis
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 syn keyword postscrConstant contained zcaron exclamsmall Hungarumlautsmall dollaroldstyle dollarsuperior
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 syn keyword postscrConstant contained ampersandsmall Acutesmall parenleftsuperior parenrightsuperior
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 syn keyword postscrConstant contained twodotenleader onedotenleader zerooldstyle oneoldstyle twooldstyle
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 syn keyword postscrConstant contained threeoldstyle fouroldstyle fiveoldstyle sixoldstyle sevenoldstyle
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 syn keyword postscrConstant contained eightoldstyle nineoldstyle commasuperior
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 syn keyword postscrConstant contained threequartersemdash periodsuperior questionsmall asuperior bsuperior
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 syn keyword postscrConstant contained centsuperior dsuperior esuperior isuperior lsuperior msuperior
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 syn keyword postscrConstant contained nsuperior osuperior rsuperior ssuperior tsuperior ff ffi ffl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 syn keyword postscrConstant contained parenleftinferior parenrightinferior Circumflexsmall hyphensuperior
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 syn keyword postscrConstant contained Gravesmall Asmall Bsmall Csmall Dsmall Esmall Fsmall Gsmall Hsmall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 syn keyword postscrConstant contained Ismall Jsmall Ksmall Lsmall Msmall Nsmall Osmall Psmall Qsmall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 syn keyword postscrConstant contained Rsmall Ssmall Tsmall Usmall Vsmall Wsmall Xsmall Ysmall Zsmall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 syn keyword postscrConstant contained colonmonetary onefitted rupiah Tildesmall exclamdownsmall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 syn keyword postscrConstant contained centoldstyle Lslashsmall Scaronsmall Zcaronsmall Dieresissmall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 syn keyword postscrConstant contained Brevesmall Caronsmall Dotaccentsmall Macronsmall figuredash
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 syn keyword postscrConstant contained hypheninferior Ogoneksmall Ringsmall Cedillasmall questiondownsmall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 syn keyword postscrConstant contained oneeighth threeeighths fiveeighths seveneighths onethird twothirds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 syn keyword postscrConstant contained zerosuperior foursuperior fivesuperior sixsuperior sevensuperior
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 syn keyword postscrConstant contained eightsuperior ninesuperior zeroinferior oneinferior twoinferior
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 syn keyword postscrConstant contained threeinferior fourinferior fiveinferior sixinferior seveninferior
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 syn keyword postscrConstant contained eightinferior nineinferior centinferior dollarinferior periodinferior
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 syn keyword postscrConstant contained commainferior Agravesmall Aacutesmall Acircumflexsmall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 syn keyword postscrConstant contained Atildesmall Adieresissmall Aringsmall AEsmall Ccedillasmall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 syn keyword postscrConstant contained Egravesmall Eacutesmall Ecircumflexsmall Edieresissmall Igravesmall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 syn keyword postscrConstant contained Iacutesmall Icircumflexsmall Idieresissmall Ethsmall Ntildesmall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 syn keyword postscrConstant contained Ogravesmall Oacutesmall Ocircumflexsmall Otildesmall Odieresissmall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 syn keyword postscrConstant contained OEsmall Oslashsmall Ugravesmall Uacutesmall Ucircumflexsmall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 syn keyword postscrConstant contained Udieresissmall Yacutesmall Thornsmall Ydieresissmall Black Bold Book
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 syn keyword postscrConstant contained Light Medium Regular Roman Semibold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 " Sundry standard and expert encoding names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 syn keyword postscrConstant contained trademark Scaron Ydieresis Zcaron scaron softhyphen overscore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 syn keyword postscrConstant contained graybox Sacute Tcaron Zacute sacute tcaron zacute Aogonek Scedilla
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 syn keyword postscrConstant contained Zdotaccent aogonek scedilla Lcaron lcaron zdotaccent Racute Abreve
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 syn keyword postscrConstant contained Lacute Cacute Ccaron Eogonek Ecaron Dcaron Dcroat Nacute Ncaron
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 syn keyword postscrConstant contained Ohungarumlaut Rcaron Uring Uhungarumlaut Tcommaaccent racute abreve
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 syn keyword postscrConstant contained lacute cacute ccaron eogonek ecaron dcaron dcroat nacute ncaron
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 syn keyword postscrConstant contained ohungarumlaut rcaron uring uhungarumlaut tcommaaccent Gbreve
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 syn keyword postscrConstant contained Idotaccent gbreve blank apple
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 " By default level 3 includes all level 2 operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 if postscr_level == 2 || postscr_level == 3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 " Dictionary operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
346 syn match postscrL2Operator "\(<<\|>>\)"
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
347 syn keyword postscrL2Operator undef
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 syn keyword postscrConstant globaldict shareddict
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 " Device operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
351 syn keyword postscrL2Operator setpagedevice currentpagedevice
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 " Path operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
354 syn keyword postscrL2Operator rectclip setbbox uappend ucache upath ustrokepath arct
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 " Painting operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
357 syn keyword postscrL2Operator rectfill rectstroke ufill ueofill ustroke
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 " Array operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
360 syn keyword postscrL2Operator currentpacking setpacking packedarray
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 " Misc operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
363 syn keyword postscrL2Operator languagelevel
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 " Insideness operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
366 syn keyword postscrL2Operator infill ineofill instroke inufill inueofill inustroke
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 " GState operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
369 syn keyword postscrL2Operator gstate setgstate currentgstate setcolor
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
370 syn keyword postscrL2Operator setcolorspace currentcolorspace setstrokeadjust currentstrokeadjust
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
371 syn keyword postscrL2Operator currentcolor
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 " Device gstate operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
374 syn keyword postscrL2Operator sethalftone currenthalftone setoverprint currentoverprint
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
375 syn keyword postscrL2Operator setcolorrendering currentcolorrendering
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 " Character operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
378 syn keyword postscrL2Constant GlobalFontDirectory SharedFontDirectory
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
379 syn keyword postscrL2Operator glyphshow selectfont
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
380 syn keyword postscrL2Operator addglyph undefinefont xshow xyshow yshow
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 " Pattern operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
383 syn keyword postscrL2Operator makepattern setpattern execform
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 " Resource operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
386 syn keyword postscrL2Operator defineresource undefineresource findresource resourcestatus
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
387 syn keyword postscrL2Repeat resourceforall
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 " File operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
390 syn keyword postscrL2Operator filter printobject writeobject setobjectformat currentobjectformat
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392 " VM operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
393 syn keyword postscrL2Operator currentshared setshared defineuserobject execuserobject undefineuserobject
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
394 syn keyword postscrL2Operator gcheck scheck startjob currentglobal setglobal
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 syn keyword postscrConstant UserObjects
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 " Interpreter operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
398 syn keyword postscrL2Operator setucacheparams setvmthreshold ucachestatus setsystemparams
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
399 syn keyword postscrL2Operator setuserparams currentuserparams setcacheparams currentcacheparams
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
400 syn keyword postscrL2Operator currentdevparams setdevparams vmreclaim currentsystemparams
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402 " PS2 constants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 syn keyword postscrConstant contained DeviceCMYK Pattern Indexed Separation Cyan Magenta Yellow Black
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 syn keyword postscrConstant contained CIEBasedA CIEBasedABC CIEBasedDEF CIEBasedDEFG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406 " PS2 $error dictionary entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 syn keyword postscrConstant contained newerror errorname command errorinfo ostack estack dstack
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
408 syn keyword postscrConstant contained recordstacks binary
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410 " PS2 Category dictionary
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 syn keyword postscrConstant contained DefineResource UndefineResource FindResource ResourceStatus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412 syn keyword postscrConstant contained ResourceForAll Category InstanceType ResourceFileName
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
414 " PS2 Category names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
415 syn keyword postscrConstant contained Font Encoding Form Pattern ProcSet ColorSpace Halftone
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416 syn keyword postscrConstant contained ColorRendering Filter ColorSpaceFamily Emulator IODevice
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 syn keyword postscrConstant contained ColorRenderingType FMapType FontType FormType HalftoneType
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 syn keyword postscrConstant contained ImageType PatternType Category Generic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 " PS2 pagedevice dictionary entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421 syn keyword postscrConstant contained PageSize MediaColor MediaWeight MediaType InputAttributes ManualFeed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 syn keyword postscrConstant contained OutputType OutputAttributes NumCopies Collate Duplex Tumble
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 syn keyword postscrConstant contained Separations HWResolution Margins NegativePrint MirrorPrint
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 syn keyword postscrConstant contained CutMedia AdvanceMedia AdvanceDistance ImagingBBox
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 syn keyword postscrConstant contained Policies Install BeginPage EndPage PolicyNotFound PolicyReport
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 syn keyword postscrConstant contained ManualSize OutputFaceUp Jog
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427 syn keyword postscrConstant contained Bind BindDetails Booklet BookletDetails CollateDetails
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428 syn keyword postscrConstant contained DeviceRenderingInfo ExitJamRecovery Fold FoldDetails Laminate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429 syn keyword postscrConstant contained ManualFeedTimeout Orientation OutputPage
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
430 syn keyword postscrConstant contained PostRenderingEnhance PostRenderingEnhanceDetails
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 syn keyword postscrConstant contained PreRenderingEnhance PreRenderingEnhanceDetails
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432 syn keyword postscrConstant contained Signature SlipSheet Staple StapleDetails Trim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433 syn keyword postscrConstant contained ProofSet REValue PrintQuality ValuesPerColorComponent AntiAlias
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 " PS2 PDL resource entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436 syn keyword postscrConstant contained Selector LanguageFamily LanguageVersion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
438 " PS2 halftone dictionary entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 syn keyword postscrConstant contained HalftoneType HalftoneName
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440 syn keyword postscrConstant contained AccurateScreens ActualAngle Xsquare Ysquare AccurateFrequency
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
441 syn keyword postscrConstant contained Frequency SpotFunction Angle Width Height Thresholds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442 syn keyword postscrConstant contained RedFrequency RedSpotFunction RedAngle RedWidth RedHeight
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443 syn keyword postscrConstant contained GreenFrequency GreenSpotFunction GreenAngle GreenWidth GreenHeight
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444 syn keyword postscrConstant contained BlueFrequency BlueSpotFunction BlueAngle BlueWidth BlueHeight
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445 syn keyword postscrConstant contained GrayFrequency GrayAngle GraySpotFunction GrayWidth GrayHeight
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446 syn keyword postscrConstant contained GrayThresholds BlueThresholds GreenThresholds RedThresholds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 syn keyword postscrConstant contained TransferFunction
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
448
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
449 " PS2 CSR dictionaries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
450 syn keyword postscrConstant contained RangeA DecodeA MatrixA RangeABC DecodeABC MatrixABC BlackPoint
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
451 syn keyword postscrConstant contained RangeLMN DecodeLMN MatrixLMN WhitePoint RangeDEF DecodeDEF RangeHIJ
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
452 syn keyword postscrConstant contained RangeDEFG DecodeDEFG RangeHIJK Table
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
453
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 " PS2 CRD dictionaries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 syn keyword postscrConstant contained ColorRenderingType EncodeLMB EncodeABC RangePQR MatrixPQR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 syn keyword postscrConstant contained AbsoluteColorimetric RelativeColorimetric Saturation Perceptual
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457 syn keyword postscrConstant contained TransformPQR RenderTable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 " PS2 Pattern dictionary
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
460 syn keyword postscrConstant contained PatternType PaintType TilingType XStep YStep
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
462 " PS2 Image dictionary
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
463 syn keyword postscrConstant contained ImageType ImageMatrix MultipleDataSources DataSource
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
464 syn keyword postscrConstant contained BitsPerComponent Decode Interpolate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466 " PS2 Font dictionaries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
467 syn keyword postscrConstant contained FontType FontMatrix FontName FontInfo LanguageLevel WMode Encoding
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
468 syn keyword postscrConstant contained UniqueID StrokeWidth Metrics Metrics2 CDevProc CharStrings Private
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
469 syn keyword postscrConstant contained FullName Notice version ItalicAngle isFixedPitch UnderlinePosition
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
470 syn keyword postscrConstant contained FMapType Encoding FDepVector PrefEnc EscChar ShiftOut ShiftIn
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
471 syn keyword postscrConstant contained WeightVector Blend $Blend CIDFontType sfnts CIDSystemInfo CodeMap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 syn keyword postscrConstant contained CMap CIDFontName CIDSystemInfo UIDBase CIDDevProc CIDCount
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 syn keyword postscrConstant contained CIDMapOffset FDArray FDBytes GDBytes GlyphData GlyphDictionary
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 syn keyword postscrConstant contained SDBytes SubrMapOffset SubrCount BuildGlyph CIDMap FID MIDVector
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 syn keyword postscrConstant contained Ordering Registry Supplement CMapName CMapVersion UIDOffset
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476 syn keyword postscrConstant contained SubsVector UnderlineThickness FamilyName FontBBox CurMID
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477 syn keyword postscrConstant contained Weight
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
478
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
479 " PS2 User paramters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
480 syn keyword postscrConstant contained MaxFontItem MinFontCompress MaxUPathItem MaxFormItem MaxPatternItem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481 syn keyword postscrConstant contained MaxScreenItem MaxOpStack MaxDictStack MaxExecStack MaxLocalVM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
482 syn keyword postscrConstant contained VMReclaim VMThreshold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 " PS2 System paramters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
485 syn keyword postscrConstant contained SystemParamsPassword StartJobPassword BuildTime ByteOrder RealFormat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 syn keyword postscrConstant contained MaxFontCache CurFontCache MaxOutlineCache CurOutlineCache
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487 syn keyword postscrConstant contained MaxUPathCache CurUPathCache MaxFormCache CurFormCache
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488 syn keyword postscrConstant contained MaxPatternCache CurPatternCache MaxScreenStorage CurScreenStorage
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 syn keyword postscrConstant contained MaxDisplayList CurDisplayList
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491 " PS2 LZW Filters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
492 syn keyword postscrConstant contained Predictor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
494 " Paper Size operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
495 syn keyword postscrL2Operator letter lettersmall legal ledger 11x17 a4 a3 a4small b5 note
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
496
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
497 " Paper Tray operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
498 syn keyword postscrL2Operator lettertray legaltray ledgertray a3tray a4tray b5tray 11x17tray
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
499
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
500 " SCC compatibility operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
501 syn keyword postscrL2Operator sccbatch sccinteractive setsccbatch setsccinteractive
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
502
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 " Page duplexing operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
504 syn keyword postscrL2Operator duplexmode firstside newsheet setduplexmode settumble tumble
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 " Device compatability operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
507 syn keyword postscrL2Operator devdismount devformat devmount devstatus
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
508 syn keyword postscrL2Repeat devforall
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510 " Imagesetter compatability operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
511 syn keyword postscrL2Operator accuratescreens checkscreen pagemargin pageparams setaccuratescreens setpage
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
512 syn keyword postscrL2Operator setpagemargin setpageparams
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
513
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
514 " Misc compatability operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
515 syn keyword postscrL2Operator appletalktype buildtime byteorder checkpassword defaulttimeouts diskonline
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
516 syn keyword postscrL2Operator diskstatus manualfeed manualfeedtimeout margins mirrorprint pagecount
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
517 syn keyword postscrL2Operator pagestackorder printername processcolors sethardwareiomode setjobtimeout
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
518 syn keyword postscrL2Operator setpagestockorder setprintername setresolution doprinterrors dostartpage
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
519 syn keyword postscrL2Operator hardwareiomode initializedisk jobname jobtimeout ramsize realformat resolution
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
520 syn keyword postscrL2Operator setdefaulttimeouts setdoprinterrors setdostartpage setdosysstart
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
521 syn keyword postscrL2Operator setuserdiskpercent softwareiomode userdiskpercent waittimeout
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
522 syn keyword postscrL2Operator setsoftwareiomode dosysstart emulate setmargins setmirrorprint
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
524 endif " PS2 highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
525
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
526 if postscr_level == 3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527 " Shading operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
528 syn keyword postscrL3Operator setsmoothness currentsmoothness shfill
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
529
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
530 " Clip operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
531 syn keyword postscrL3Operator clipsave cliprestore
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
532
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
533 " Pagedevive operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
534 syn keyword postscrL3Operator setpage setpageparams
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
535
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
536 " Device gstate operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
537 syn keyword postscrL3Operator findcolorrendering
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
538
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
539 " Font operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
540 syn keyword postscrL3Operator composefont
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
541
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
542 " PS LL3 Output device resource entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
543 syn keyword postscrConstant contained DeviceN TrappingDetailsType
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
544
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
545 " PS LL3 pagdevice dictionary entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
546 syn keyword postscrConstant contained DeferredMediaSelection ImageShift InsertSheet LeadingEdge MaxSeparations
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
547 syn keyword postscrConstant contained MediaClass MediaPosition OutputDevice PageDeviceName PageOffset ProcessColorModel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
548 syn keyword postscrConstant contained RollFedMedia SeparationColorNames SeparationOrder Trapping TrappingDetails
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
549 syn keyword postscrConstant contained TraySwitch UseCIEColor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
550 syn keyword postscrConstant contained ColorantDetails ColorantName ColorantType NeutralDensity TrappingOrder
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
551 syn keyword postscrConstant contained ColorantSetName
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
552
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
553 " PS LL3 trapping dictionary entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
554 syn keyword postscrConstant contained BlackColorLimit BlackDensityLimit BlackWidth ColorantZoneDetails
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
555 syn keyword postscrConstant contained SlidingTrapLimit StepLimit TrapColorScaling TrapSetName TrapWidth
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
556 syn keyword postscrConstant contained ImageResolution ImageToObjectTrapping ImageTrapPlacement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
557 syn keyword postscrConstant contained StepLimit TrapColorScaling Enabled ImageInternalTrapping
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
558
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
559 " PS LL3 filters and entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
560 syn keyword postscrConstant contained ReusableStreamDecode CloseSource CloseTarget UnitSize LowBitFirst
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
561 syn keyword postscrConstant contained FlateEncode FlateDecode DecodeParams Intent AsyncRead
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
562
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
563 " PS LL3 halftone dictionary entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
564 syn keyword postscrConstant contained Height2 Width2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
565
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
566 " PS LL3 function dictionary entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
567 syn keyword postscrConstant contained FunctionType Domain Range Order BitsPerSample Encode Size C0 C1 N
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
568 syn keyword postscrConstant contained Functions Bounds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
569
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
570 " PS LL3 image dictionary entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
571 syn keyword postscrConstant contained InterleaveType MaskDict DataDict MaskColor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
572
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
573 " PS LL3 Pattern and shading dictionary entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
574 syn keyword postscrConstant contained Shading ShadingType Background ColorSpace Coords Extend Function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
575 syn keyword postscrConstant contained VerticesPerRow BitsPerCoordinate BitsPerFlag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
576
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
577 " PS LL3 image dictionary entries
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
578 syn keyword postscrConstant contained XOrigin YOrigin UnpaintedPath PixelCopy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
579
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
580 " PS LL3 colorrendering procedures
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
581 syn keyword postscrProcedure GetHalftoneName GetPageDeviceName GetSubstituteCRD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
582
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
583 " PS LL3 CIDInit procedures
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
584 syn keyword postscrProcedure beginbfchar beginbfrange begincidchar begincidrange begincmap begincodespacerange
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
585 syn keyword postscrProcedure beginnotdefchar beginnotdefrange beginrearrangedfont beginusematrix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
586 syn keyword postscrProcedure endbfchar endbfrange endcidchar endcidrange endcmap endcodespacerange
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
587 syn keyword postscrProcedure endnotdefchar endnotdefrange endrearrangedfont endusematrix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
588 syn keyword postscrProcedure StartData usefont usecmp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
589
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
590 " PS LL3 Trapping procedures
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
591 syn keyword postscrProcedure settrapparams currenttrapparams settrapzone
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
592
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
593 " PS LL3 BitmapFontInit procedures
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
594 syn keyword postscrProcedure removeall removeglyphs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
595
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
596 " PS LL3 Font names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
597 if exists("postscr_fonts")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
598 syn keyword postscrConstant contained AlbertusMT AlbertusMT-Italic AlbertusMT-Light Apple-Chancery Apple-ChanceryCE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
599 syn keyword postscrConstant contained AntiqueOlive-Roman AntiqueOlive-Italic AntiqueOlive-Bold AntiqueOlive-Compact
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
600 syn keyword postscrConstant contained AntiqueOliveCE-Roman AntiqueOliveCE-Italic AntiqueOliveCE-Bold AntiqueOliveCE-Compact
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
601 syn keyword postscrConstant contained ArialMT Arial-ItalicMT Arial-LightMT Arial-BoldMT Arial-BoldItalicMT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
602 syn keyword postscrConstant contained ArialCE ArialCE-Italic ArialCE-Light ArialCE-Bold ArialCE-BoldItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
603 syn keyword postscrConstant contained AvantGarde-Book AvantGarde-BookOblique AvantGarde-Demi AvantGarde-DemiOblique
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
604 syn keyword postscrConstant contained AvantGardeCE-Book AvantGardeCE-BookOblique AvantGardeCE-Demi AvantGardeCE-DemiOblique
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
605 syn keyword postscrConstant contained Bodoni Bodoni-Italic Bodoni-Bold Bodoni-BoldItalic Bodoni-Poster Bodoni-PosterCompressed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
606 syn keyword postscrConstant contained BodoniCE BodoniCE-Italic BodoniCE-Bold BodoniCE-BoldItalic BodoniCE-Poster BodoniCE-PosterCompressed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
607 syn keyword postscrConstant contained Bookman-Light Bookman-LightItalic Bookman-Demi Bookman-DemiItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
608 syn keyword postscrConstant contained BookmanCE-Light BookmanCE-LightItalic BookmanCE-Demi BookmanCE-DemiItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
609 syn keyword postscrConstant contained Carta Chicago ChicagoCE Clarendon Clarendon-Light Clarendon-Bold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
610 syn keyword postscrConstant contained ClarendonCE ClarendonCE-Light ClarendonCE-Bold CooperBlack CooperBlack-Italic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
611 syn keyword postscrConstant contained Copperplate-ThirtyTwoBC CopperPlate-ThirtyThreeBC Coronet-Regular CoronetCE-Regular
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
612 syn keyword postscrConstant contained CourierCE CourierCE-Oblique CourierCE-Bold CourierCE-BoldOblique
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
613 syn keyword postscrConstant contained Eurostile Eurostile-Bold Eurostile-ExtendedTwo Eurostile-BoldExtendedTwo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
614 syn keyword postscrConstant contained Eurostile EurostileCE-Bold EurostileCE-ExtendedTwo EurostileCE-BoldExtendedTwo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
615 syn keyword postscrConstant contained Geneva GenevaCE GillSans GillSans-Italic GillSans-Bold GillSans-BoldItalic GillSans-BoldCondensed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
616 syn keyword postscrConstant contained GillSans-Light GillSans-LightItalic GillSans-ExtraBold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
617 syn keyword postscrConstant contained GillSansCE-Roman GillSansCE-Italic GillSansCE-Bold GillSansCE-BoldItalic GillSansCE-BoldCondensed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
618 syn keyword postscrConstant contained GillSansCE-Light GillSansCE-LightItalic GillSansCE-ExtraBold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
619 syn keyword postscrConstant contained Goudy Goudy-Italic Goudy-Bold Goudy-BoldItalic Goudy-ExtraBould
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
620 syn keyword postscrConstant contained HelveticaCE HelveticaCE-Oblique HelveticaCE-Bold HelveticaCE-BoldOblique
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
621 syn keyword postscrConstant contained Helvetica-Condensed Helvetica-Condensed-Oblique Helvetica-Condensed-Bold Helvetica-Condensed-BoldObl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622 syn keyword postscrConstant contained HelveticaCE-Condensed HelveticaCE-Condensed-Oblique HelveticaCE-Condensed-Bold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
623 syn keyword postscrConstant contained HelveticaCE-Condensed-BoldObl Helvetica-Narrow Helvetica-Narrow-Oblique Helvetica-Narrow-Bold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
624 syn keyword postscrConstant contained Helvetica-Narrow-BoldOblique HelveticaCE-Narrow HelveticaCE-Narrow-Oblique HelveticaCE-Narrow-Bold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
625 syn keyword postscrConstant contained HelveticaCE-Narrow-BoldOblique HoeflerText-Regular HoeflerText-Italic HoeflerText-Black
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
626 syn keyword postscrConstant contained HoeflerText-BlackItalic HoeflerText-Ornaments HoeflerTextCE-Regular HoeflerTextCE-Italic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
627 syn keyword postscrConstant contained HoeflerTextCE-Black HoeflerTextCE-BlackItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
628 syn keyword postscrConstant contained JoannaMT JoannaMT-Italic JoannaMT-Bold JoannaMT-BoldItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629 syn keyword postscrConstant contained JoannaMTCE JoannaMTCE-Italic JoannaMTCE-Bold JoannaMTCE-BoldItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
630 syn keyword postscrConstant contained LetterGothic LetterGothic-Slanted LetterGothic-Bold LetterGothic-BoldSlanted
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
631 syn keyword postscrConstant contained LetterGothicCE LetterGothicCE-Slanted LetterGothicCE-Bold LetterGothicCE-BoldSlanted
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
632 syn keyword postscrConstant contained LubalinGraph-Book LubalinGraph-BookOblique LubalinGraph-Demi LubalinGraph-DemiOblique
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
633 syn keyword postscrConstant contained LubalinGraphCE-Book LubalinGraphCE-BookOblique LubalinGraphCE-Demi LubalinGraphCE-DemiOblique
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
634 syn keyword postscrConstant contained Marigold Monaco MonacoCE MonaLisa-Recut Oxford Symbol Tekton
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
635 syn keyword postscrConstant contained NewCennturySchlbk-Roman NewCenturySchlbk-Italic NewCenturySchlbk-Bold NewCenturySchlbk-BoldItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
636 syn keyword postscrConstant contained NewCenturySchlbkCE-Roman NewCenturySchlbkCE-Italic NewCenturySchlbkCE-Bold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
637 syn keyword postscrConstant contained NewCenturySchlbkCE-BoldItalic NewYork NewYorkCE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
638 syn keyword postscrConstant contained Optima Optima-Italic Optima-Bold Optima-BoldItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
639 syn keyword postscrConstant contained OptimaCE OptimaCE-Italic OptimaCE-Bold OptimaCE-BoldItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
640 syn keyword postscrConstant contained Palatino-Roman Palatino-Italic Palatino-Bold Palatino-BoldItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
641 syn keyword postscrConstant contained PalatinoCE-Roman PalatinoCE-Italic PalatinoCE-Bold PalatinoCE-BoldItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
642 syn keyword postscrConstant contained StempelGaramond-Roman StempelGaramond-Italic StempelGaramond-Bold StempelGaramond-BoldItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
643 syn keyword postscrConstant contained StempelGaramondCE-Roman StempelGaramondCE-Italic StempelGaramondCE-Bold StempelGaramondCE-BoldItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
644 syn keyword postscrConstant contained TimesCE-Roman TimesCE-Italic TimesCE-Bold TimesCE-BoldItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
645 syn keyword postscrConstant contained TimesNewRomanPSMT TimesNewRomanPS-ItalicMT TimesNewRomanPS-BoldMT TimesNewRomanPS-BoldItalicMT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
646 syn keyword postscrConstant contained TimesNewRomanCE TimesNewRomanCE-Italic TimesNewRomanCE-Bold TimesNewRomanCE-BoldItalic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
647 syn keyword postscrConstant contained Univers Univers-Oblique Univers-Bold Univers-BoldOblique
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
648 syn keyword postscrConstant contained UniversCE-Medium UniversCE-Oblique UniversCE-Bold UniversCE-BoldOblique
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
649 syn keyword postscrConstant contained Univers-Light Univers-LightOblique UniversCE-Light UniversCE-LightOblique
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
650 syn keyword postscrConstant contained Univers-Condensed Univers-CondensedOblique Univers-CondensedBold Univers-CondensedBoldOblique
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
651 syn keyword postscrConstant contained UniversCE-Condensed UniversCE-CondensedOblique UniversCE-CondensedBold UniversCE-CondensedBoldOblique
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
652 syn keyword postscrConstant contained Univers-Extended Univers-ExtendedObl Univers-BoldExt Univers-BoldExtObl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
653 syn keyword postscrConstant contained UniversCE-Extended UniversCE-ExtendedObl UniversCE-BoldExt UniversCE-BoldExtObl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
654 syn keyword postscrConstant contained Wingdings-Regular ZapfChancery-MediumItalic ZapfChanceryCE-MediumItalic ZapfDingBats
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
655 endif " Font names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
656
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
657 endif " PS LL3 highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
658
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
659
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
660 if exists("postscr_ghostscript")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
661 " GS gstate operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
662 syn keyword postscrGSOperator .setaccuratecurves .currentaccuratecurves .setclipoutside
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
663 syn keyword postscrGSOperator .setdashadapt .currentdashadapt .setdefaultmatrix .setdotlength
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
664 syn keyword postscrGSOperator .currentdotlength .setfilladjust2 .currentfilladjust2
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
665 syn keyword postscrGSOperator .currentclipoutside .setcurvejoin .currentcurvejoin
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
666 syn keyword postscrGSOperator .setblendmode .currentblendmode .setopacityalpha .currentopacityalpha .setshapealpha .currentshapealpha
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
667 syn keyword postscrGSOperator .setlimitclamp .currentlimitclamp .setoverprintmode .currentoverprintmode
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
668
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
669 " GS path operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
670 syn keyword postscrGSOperator .dashpath .rectappend
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
671
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
672 " GS painting operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
673 syn keyword postscrGSOperator .setrasterop .currentrasterop .setsourcetransparent
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
674 syn keyword postscrGSOperator .settexturetransparent .currenttexturetransparent
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
675 syn keyword postscrGSOperator .currentsourcetransparent
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
676
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
677 " GS character operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
678 syn keyword postscrGSOperator .charboxpath .type1execchar %Type1BuildChar %Type1BuildGlyph
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
679
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
680 " GS mathematical operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
681 syn keyword postscrGSMathOperator arccos arcsin
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
682
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
683 " GS dictionary operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
684 syn keyword postscrGSOperator .dicttomark .forceput .forceundef .knownget .setmaxlength
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
685
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
686 " GS byte and string operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
687 syn keyword postscrGSOperator .type1encrypt .type1decrypt
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
688 syn keyword postscrGSOperator .bytestring .namestring .stringmatch
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
689
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
690 " GS relational operators (seem like math ones to me!)
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
691 syn keyword postscrGSMathOperator max min
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
692
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
693 " GS file operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
694 syn keyword postscrGSOperator findlibfile unread writeppmfile
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
695 syn keyword postscrGSOperator .filename .fileposition .peekstring .unread
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
696
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
697 " GS vm operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
698 syn keyword postscrGSOperator .forgetsave
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
699
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
700 " GS device operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
701 syn keyword postscrGSOperator copydevice .getdevice makeimagedevice makewordimagedevice copyscanlines
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
702 syn keyword postscrGSOperator setdevice currentdevice getdeviceprops putdeviceprops flushpage
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
703 syn keyword postscrGSOperator finddevice findprotodevice .getbitsrect
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
704
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
705 " GS misc operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
706 syn keyword postscrGSOperator getenv .makeoperator .setdebug .oserrno .oserror .execn
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
707
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
708 " GS rendering stack operators
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
709 syn keyword postscrGSOperator .begintransparencygroup .discardtransparencygroup .endtransparencygroup
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
710 syn keyword postscrGSOperator .begintransparencymask .discardtransparencymask .endtransparencymask .inittransparencymask
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
711 syn keyword postscrGSOperator .settextknockout .currenttextknockout
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
712
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
713 " GS filters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
714 syn keyword postscrConstant contained BCPEncode BCPDecode eexecEncode eexecDecode PCXDecode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
715 syn keyword postscrConstant contained PixelDifferenceEncode PixelDifferenceDecode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
716 syn keyword postscrConstant contained PNGPredictorDecode TBCPEncode TBCPDecode zlibEncode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
717 syn keyword postscrConstant contained zlibDecode PNGPredictorEncode PFBDecode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
718 syn keyword postscrConstant contained MD5Encode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
719
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
720 " GS filter keys
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
721 syn keyword postscrConstant contained InitialCodeLength FirstBitLowOrder BlockData DecodedByteAlign
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
722
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
723 " GS device parameters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
724 syn keyword postscrConstant contained BitsPerPixel .HWMargins HWSize Name GrayValues
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
725 syn keyword postscrConstant contained ColorValues TextAlphaBits GraphicsAlphaBits BufferSpace
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
726 syn keyword postscrConstant contained OpenOutputFile PageCount BandHeight BandWidth BandBufferSpace
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
727 syn keyword postscrConstant contained ViewerPreProcess GreenValues BlueValues OutputFile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
728 syn keyword postscrConstant contained MaxBitmap RedValues
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
729
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
730 endif " GhostScript highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
731
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
732 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
733 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
734 " For version 5.8 and later: only when an item doesn't have highlighting yet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
735 if version >= 508 || !exists("did_postscr_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
736 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
737 let did_postscr_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
738 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
739 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
740 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
741 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
742
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
743 HiLink postscrComment Comment
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
744
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
745 HiLink postscrConstant Constant
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
746 HiLink postscrString String
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
747 HiLink postscrASCIIString postscrString
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
748 HiLink postscrHexString postscrString
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
749 HiLink postscrASCII85String postscrString
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
750 HiLink postscrNumber Number
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
751 HiLink postscrInteger postscrNumber
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
752 HiLink postscrHex postscrNumber
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
753 HiLink postscrRadix postscrNumber
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
754 HiLink postscrFloat Float
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
755 HiLink postscrBoolean Boolean
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
756
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
757 HiLink postscrIdentifier Identifier
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
758 HiLink postscrProcedure Function
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
759
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
760 HiLink postscrName Statement
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
761 HiLink postscrConditional Conditional
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
762 HiLink postscrRepeat Repeat
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
763 HiLink postscrL2Repeat postscrRepeat
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
764 HiLink postscrOperator Operator
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
765 HiLink postscrL1Operator postscrOperator
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
766 HiLink postscrL2Operator postscrOperator
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
767 HiLink postscrL3Operator postscrOperator
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
768 HiLink postscrMathOperator postscrOperator
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
769 HiLink postscrLogicalOperator postscrOperator
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
770 HiLink postscrBinaryOperator postscrOperator
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
771
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
772 HiLink postscrDSCComment SpecialComment
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
773 HiLink postscrSpecialChar SpecialChar
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
774
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
775 HiLink postscrTodo Todo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
776
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
777 HiLink postscrError Error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
778 HiLink postscrSpecialCharError postscrError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
779 HiLink postscrASCII85CharError postscrError
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
780 HiLink postscrHexCharError postscrError
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
781 HiLink postscrASCIIStringError postscrError
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
782 HiLink postscrIdentifierError postscrError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
783
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
784 if exists("postscr_ghostscript")
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
785 HiLink postscrGSOperator postscrOperator
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
786 HiLink postscrGSMathOperator postscrMathOperator
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
787 else
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
788 HiLink postscrGSOperator postscrError
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
789 HiLink postscrGSMathOperator postscrError
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
790 endif
149d8b46404c updated for version 7.2a
vimboss
parents: 7
diff changeset
791
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
792 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
793 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
794
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
795 let b:current_syntax = "postscr"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
796
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
797 " vim: ts=8