annotate runtime/syntax/progress.vim @ 980:e1efa991c2b6 v7.0.106

updated for version 7.0-106
author vimboss
date Thu, 14 Sep 2006 11:35:25 +0000
parents fd1b3406fd1c
children 7bc41231fbc7
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
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
2 " Language: Progress 4GL
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Filename extensions: *.p (collides with Pascal),
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
4 " *.i (collides with assembler)
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
5 " *.w (collides with cweb)
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
6 " Maintainer: Philip Uren <philuSPAX@ieee.org> Remove "SPAX" spam block
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
7 " Contributors: Chris Ruprecht <chrup@mac.com> (Chris, where are you now?)
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
8 " Mikhail Kuperblum <mikhail@whasup.com>
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
9 " John Florian <jflorian@voyager.net>
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
10 " Last Change: Wed Apr 12 08:55:35 EST 2006
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
11 " $Id$
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " For version 5.x: Clear all syntax items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " For version 6.x: Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 if version >= 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 setlocal iskeyword=@,48-57,_,-,!,#,$,%
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 set iskeyword=@,48-57,_,-,!,#,$,%
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
27 " The Progress editor doesn't cope with tabs very well.
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
28 set expandtab
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
29
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 " Progress Blocks of code and mismatched "end." errors.
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
33 syn match ProgressEndError "\<end\>"
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
34 syn region ProgressDoBlock transparent matchgroup=ProgressDo start="\<do\>" matchgroup=ProgressDo end="\<end\>" contains=ALLBUT,ProgressProcedure,ProgressFunction
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
35 syn region ProgressForBlock transparent matchgroup=ProgressFor start="\<for\>" matchgroup=ProgressFor end="\<end\>" contains=ALLBUT,ProgressProcedure,ProgressFunction
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
36 syn region ProgressRepeatBlock transparent matchgroup=ProgressRepeat start="\<repeat\>" matchgroup=ProgressRepeat end="\<end\>" contains=ALLBUT,ProgressProcedure,ProgressFunction
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
37 syn region ProgressCaseBlock transparent matchgroup=ProgressCase start="\<case\>" matchgroup=ProgressCase end="\<end\scase\>\|\<end\>" contains=ALLBUT,ProgressProcedure,ProgressFunction
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 " These are Progress reserved words,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 " and they could go in ProgressReserved,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 " but I found it more helpful to highlight them in a different color.
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
42 syn keyword ProgressConditional if else then when otherwise
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
43 syn keyword ProgressFor each where
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 " Make those TODO and debugging notes stand out!
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
46 syn keyword ProgressTodo contained TODO BUG FIX
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
47 syn keyword ProgressDebug contained DEBUG
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
48 syn keyword ProgressDebug debugger
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
49 syn match ProgressTodo contained "NEED[S]*\s\s*WORK"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
51 " If you like to highlight the whole line of
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
52 " the start and end of procedures
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
53 " to make the whole block of code stand out:
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
54 syn match ProgressProcedure "^\s*procedure.*"
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
55 syn match ProgressProcedure "^\s*end\s\s*procedure.*"
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
56 syn match ProgressFunction "^\s*function.*"
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
57 syn match ProgressFunction "^\s*end\s\s*function.*"
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
58 " ... otherwise use this:
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
59 " syn keyword ProgressFunction procedure function
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
61 syn keyword ProgressReserved accum[ulate] active-window add alias all alter ambig[uous] analyz[e] and any apply as asc[ending] assign at attr[-space]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
62 syn keyword ProgressReserved authorization auto-ret[urn] avail[able] back[ground] before-h[ide] begins bell between blank break btos by call can-do can-find
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
63 syn keyword ProgressReserved center[ed] character check chr clear clipboard col colon color col[umn] column-lab[el] col[umns] compiler connected control count-of
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
64 syn keyword ProgressReserved cpstream create ctos current current-changed current-lang[uage] current-window current_date curs[or] database dataservers
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
65 syn keyword ProgressReserved dbcodepage dbcollation dbname dbrest[rictions] dbtaskid dbtype dbvers[ion] dde deblank debug-list debugger decimal decimals declare
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
66 syn keyword ProgressReserved def default default-noxl[ate] default-window def[ine] delete delimiter desc[ending] dict[ionary] disable discon[nect] disp
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
67 syn keyword ProgressReserved disp[lay] distinct dos down drop editing enable encode entry error-stat[us] escape etime except exclusive
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
68 syn keyword ProgressReserved exclusive[-lock] exclusive-web-us[er] exists export false fetch field field[s] file-info[rmation] fill find find-case-sensitive
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
69 syn keyword ProgressReserved find-global find-next-occurrence find-prev-occurrence find-select find-wrap-around first first-of focus font form form[at]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
70 syn keyword ProgressReserved fram[e] frame-col frame-db frame-down frame-field frame-file frame-inde[x] frame-line frame-name frame-row frame-val[ue]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
71 syn keyword ProgressReserved from from-c[hars] from-p[ixels] gateway[s] get-byte get-codepage[s] get-coll[ations] get-key-val[ue] getbyte global go-on
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
72 syn keyword ProgressReserved go-pend[ing] grant graphic-e[dge] group having header help hide import in index indicator input input-o[utput] insert
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
73 syn keyword ProgressReserved integer into is is-attr[-space] join kblabel key-code key-func[tion] key-label keycode keyfunc[tion] keylabel keys keyword label
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
74 syn keyword ProgressReserved last last-even[t] last-key last-of lastkey ldbname leave library like line-count[er] listi[ng] locked lookup machine-class
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
75 syn keyword ProgressReserved map member message message-lines mouse mpe new next next-prompt no no-attr[-space] no-error no-f[ill] no-help no-hide no-label[s]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
76 syn keyword ProgressReserved no-lock no-map no-mes[sage] no-pause no-prefe[tch] no-undo no-val[idate] no-wait not null num-ali[ases] num-dbs num-entries
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
77 syn keyword ProgressReserved of off old on open opsys option or os-append os-command os-copy os-create-dir os-delete os-dir os-drive[s] os-error os-rename
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
78 syn keyword ProgressReserved os2 os400 output overlay page page-bot[tom] page-num[ber] page-top param[eter] pause pdbname persist[ent] pixels
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
79 syn keyword ProgressReserved preproc[ess] privileges proc-ha[ndle] proc-st[atus] process program-name Progress prompt prompt[-for] promsgs propath provers[ion]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
80 syn keyword ProgressReserved put put-byte put-key-val[ue] putbyte query query-tuning quit r-index rcode-informatio[n] readkey recid record-len[gth] rect[angle]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
81 syn keyword ProgressReserved release reposition retain retry return return-val[ue] revert revoke run save schema screen screen-io screen-lines
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
82 syn keyword ProgressReserved scroll sdbname search seek select self session set setuser[id] share[-lock] shared show-stat[s] skip some space status stream
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
83 syn keyword ProgressReserved stream-io string-xref system-dialog table term term[inal] text text-cursor text-seg[-growth] this-procedure time title
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
84 syn keyword ProgressReserved to today top-only trans trans[action] trigger triggers trim true underl[ine] undo unform[atted] union unique unix up update
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
85 syn keyword ProgressReserved use-index use-revvideo use-underline user user[id] using v6frame value values variable view view-as vms wait-for web-con[text]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
86 syn keyword ProgressReserved window window-maxim[ized] window-minim[ized] window-normal with work-tab[le] workfile write xcode xref yes _cbit
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
87 syn keyword ProgressReserved _control _list _memory _msg _pcontrol _serial[-num] _trace
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 " Strings. Handles embedded quotes.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 " Note that, for some reason, Progress doesn't use the backslash, "\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 " as the escape character; it uses tilde, "~".
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
92 syn region ProgressString matchgroup=ProgressQuote start=+"+ end=+"+ skip=+\~'\|\~\~+
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
93 syn region ProgressString matchgroup=ProgressQuote start=+'+ end=+'+ skip=+\~'\|\~\~+
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
95 syn match ProgressIdentifier "\<[a-zA-Z_%#]+\>()"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
97 " syn match ProgressDelimiter "()"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
99 syn match ProgressMatrixDelimiter "[][]"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 " If you prefer you can highlight the range
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
101 "syn match ProgressMatrixDelimiter "[\d\+\.\.\d\+]"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
103 syn match ProgressNumber "\<\-\=\d\+\(u\=l\=\|lu\|f\)\>"
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
104 syn match ProgressByte "\$[0-9a-fA-F]\+"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
106 " More values: Logicals, and Progress's unknown value, ?.
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
107 syn match ProgressNumber "?"
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
108 syn keyword ProgressNumber true false yes no
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
109
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 " If you don't like tabs:
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
111 syn match ProgressShowTab "\t"
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
112
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
113 " If you don't like white space on the end of lines:
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
114 " syn match ProgressSpaceError "\s\+$"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
116 syn region ProgressComment start="/\*" end="\*/" contains=ProgressComment,ProgressTodo,ProgressDebug
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
117 syn region ProgressInclude start="^[ ]*[{][^&]" end="[}]" contains=ProgressPreProc,ProgressOperator,ProgressString,ProgressComment
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
118 syn region ProgressPreProc start="&" end="\>" contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
120 " This next line works reasonably well.
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
121 " syn match ProgressOperator "[!;|)(:.><+*=-]"
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
122 "
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
123 " Progress allows a '-' to be part of an identifier. To be considered
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
124 " the subtraction/negation operation operator it needs a non-word
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
125 " character on either side. Also valid are cases where the minus
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
126 " operation appears at the beginning or end of a line.
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
127 " This next line trips up on "no-undo" etc.
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
128 " syn match ProgressOperator "[!;|)(:.><+*=]\|\W-\W\|^-\W\|\W-$"
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
129 syn match ProgressOperator "[!;|)(:.><+*=]\|\s-\s\|^-\s\|\s-$"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
131 syn keyword ProgressOperator <= <> >= abs[olute] accelerator across add-first add-last advise alert-box allow-replication ansi-only anywhere append appl-alert[-boxes] application as-cursor ask-overwrite
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
132 syn keyword ProgressOperator attach[ment] auto-end-key auto-endkey auto-go auto-ind[ent] auto-resize auto-z[ap] available-formats ave[rage] avg backward[s] base-key batch[-mode] bgc[olor] binary
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
133 syn keyword ProgressOperator bind-where block-iteration-display border-bottom border-bottom-ch[ars] border-bottom-pi[xels] border-left border-left-char[s] border-left-pixe[ls] border-right border-right-cha[rs]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
134 syn keyword ProgressOperator border-right-pix[els] border-t[op] border-t[op-chars] border-top-pixel[s] both bottom box box-select[able] browse browse-header buffer buffer-chars buffer-lines
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
135 syn keyword ProgressOperator button button[s] byte cache cache-size can-query can-set cancel-break cancel-button caps careful-paint case-sensitive cdecl char[acter] character_length charset
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
136 syn keyword ProgressOperator checked choose clear-select[ion] close code codepage codepage-convert col-of colon-align[ed] color-table column-bgc[olor] column-dcolor column-fgc[olor] column-font
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
137 syn keyword ProgressOperator column-label-bgc[olor] column-label-dcolor column-label-fgc[olor] column-label-font column-of column-pfc[olor] column-sc[rolling] combo-box command compile complete
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
138 syn keyword ProgressOperator connect constrained contents context context-pop[up] control-containe[r] c[ontrol-form] convert-to-offse[t] convert count cpcase cpcoll cpint[ernal] cplog
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
139 syn keyword ProgressOperator cpprint cprcodein cprcodeout cpterm crc-val[ue] c[reate-control] create-result-list-entry create-test-file current-column current-environm[ent] current-iteration
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
140 syn keyword ProgressOperator current-result-row current-row-modified current-value cursor-char cursor-line cursor-offset data-entry-retur[n] data-t[ype] date date-f[ormat] day db-references
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
141 syn keyword ProgressOperator dcolor dde-error dde-i[d] dde-item dde-name dde-topic debu[g] dec[imal] default-b[utton] default-extensio[n] defer-lob-fetch define defined delete-char delete-current-row
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
142 syn keyword ProgressOperator delete-line delete-selected-row delete-selected-rows deselect-focused-row deselect-rows deselect-selected-row d[esign-mode] dialog-box dialog-help dir disabled display-message
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
143 syn keyword ProgressOperator display-t[ype] double drag-enabled drop-down drop-down-list dump dynamic echo edge edge[-chars] edge-p[ixels] editor empty end-key endkey entered eq error error-col[umn]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
144 syn keyword ProgressOperator error-row event-t[ype] event[s] exclusive-id execute exp expand extended extent external extract fetch-selected-row fgc[olor] file file-name file-off[set] file-type
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
145 syn keyword ProgressOperator filename fill-in filled filters first-child first-column first-proc[edure] first-tab-i[tem] fixed-only float focused-row font-based-layout font-table force-file
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
146 syn keyword ProgressOperator fore[ground] form-input forward[s] frame-spa[cing] frame-x frame-y frequency from-cur[rent] full-height full-height-char[s] full-height-pixe[ls] full-pathn[ame]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
147 syn keyword ProgressOperator full-width full-width[-chars] full-width-pixel[s] ge get get-blue[-value] g[et-char-property] get-double get-dynamic get-file get-float get-green[-value]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
148 syn keyword ProgressOperator get-iteration get-license get-long get-message get-number get-pointer-value get-red[-value] get-repositioned-row get-selected-wid[get] get-short get-signature get-size
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
149 syn keyword ProgressOperator get-string get-tab-item get-text-height get-text-height-char[s] get-text-height-pixe[ls] get-text-width get-text-width-c[hars] get-text-width-pixel[s] get-unsigned-short
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
150 syn keyword ProgressOperator grayed grid-factor-horizont[al] grid-factor-vert[ical] grid-set grid-snap grid-unit-height grid-unit-height-cha[rs] grid-unit-height-pix[els] grid-unit-width grid-unit-width-char[s]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
151 syn keyword ProgressOperator grid-unit-width-pixe[ls] grid-visible gt handle height height[-chars] height-p[ixels] help-con[text] helpfile-n[ame] hidden hint hori[zontal] hwnd image image-down
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
152 syn keyword ProgressOperator image-insensitive image-size image-size-c[hars] image-size-pixel[s] image-up immediate-display index-hint indexed-reposition info[rmation] init init[ial] initial-dir
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
153 syn keyword ProgressOperator initial-filter initiate inner inner-chars inner-lines insert-b[acktab] insert-file insert-row insert-string insert-t[ab] int[eger] internal-entries is-lead-byte
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
154 syn keyword ProgressOperator is-row-selected is-selected item items-per-row join-by-sqldb keep-frame-z-ord[er] keep-messages keep-tab-order key keyword-all label-bgc[olor] label-dc[olor] label-fgc[olor]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
155 syn keyword ProgressOperator label-font label-pfc[olor] labels language[s] large large-to-small last-child last-tab-i[tem] last-proce[dure] lc le leading left left-align[ed] left-trim length
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
156 syn keyword ProgressOperator line list-events list-items list-query-attrs list-set-attrs list-widgets load l[oad-control] load-icon load-image load-image-down load-image-insensitive load-image-up
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
157 syn keyword ProgressOperator load-mouse-point[er] load-small-icon log logical lookahead lower lt manual-highlight margin-extra margin-height margin-height-ch[ars] margin-height-pi[xels] margin-width
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
158 syn keyword ProgressOperator margin-width-cha[rs] margin-width-pix[els] matches max max-chars max-data-guess max-height max-height[-chars] max-height-pixel[s] max-rows max-size max-val[ue] max-width
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
159 syn keyword ProgressOperator max-width[-chars] max-width-p[ixels] maximize max[imum] memory menu menu-bar menu-item menu-k[ey] menu-m[ouse] menubar message-area message-area-font message-line
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
160 syn keyword ProgressOperator min min-height min-height[-chars] min-height-pixel[s] min-size min-val[ue] min-width min-width[-chars] min-width-p[ixels] min[imum] mod modified mod[ulo] month mouse-p[ointer]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
161 syn keyword ProgressOperator movable move-after-tab-i[tem] move-before-tab-[item] move-col[umn] move-to-b[ottom] move-to-eof move-to-t[op] multiple multiple-key multitasking-interval must-exist
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
162 syn keyword ProgressOperator name native ne new-row next-col[umn] next-sibling next-tab-ite[m] next-value no-apply no-assign no-bind-where no-box no-column-scroll[ing] no-convert no-current-value
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
163 syn keyword ProgressOperator no-debug no-drag no-echo no-index-hint no-join-by-sqldb no-lookahead no-row-markers no-scrolling no-separate-connection no-separators no-und[erline] no-word-wrap
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
164 syn keyword ProgressOperator none num-but[tons] num-col[umns] num-copies num-formats num-items num-iterations num-lines num-locked-colum[ns] num-messages num-results num-selected num-selected-rows
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
165 syn keyword ProgressOperator num-selected-widgets num-tabs num-to-retain numeric numeric-f[ormat] octet_length ok ok-cancel on-frame[-border] ordered-join ordinal orientation os-getenv outer
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
166 syn keyword ProgressOperator outer-join override owner page-size page-wid[th] paged parent partial-key pascal pathname pfc[olor] pinnable pixels-per-colum[n] pixels-per-row popup-m[enu] popup-o[nly]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
167 syn keyword ProgressOperator position precision presel[ect] prev prev-col[umn] prev-sibling prev-tab-i[tem] primary printer-control-handle printer-setup private-d[ata] profiler Progress-s[ource]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
168 syn keyword ProgressOperator publish put-double put-float put-long put-short put-string put-unsigned-short query-off-end question radio-buttons radio-set random raw raw-transfer read-file read-only
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
169 syn keyword ProgressOperator real recursive refresh refreshable replace replace-selection-text replication-create replication-delete replication-write request resiza[ble] resize retry-cancel
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
170 syn keyword ProgressOperator return-ins[erted] return-to-start-di[r] reverse-from right right-align[ed] right-trim round row row-ma[rkers] row-of rowid rule rule-row rule-y save-as save-file
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
171 syn keyword ProgressOperator screen-val[ue] scroll-bars scroll-delta scroll-horiz-value scroll-offset scroll-to-current-row scroll-to-i[tem] scroll-to-selected-row scroll-vert-value scrollable
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
172 syn keyword ProgressOperator scrollbar-horizo[ntal] scrollbar-vertic[al] scrolled-row-positio[n] scrolling se-check-pools se-enable-of[f] se-enable-on se-num-pools se-use-messa[ge] section select-focused-row
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
173 syn keyword ProgressOperator select-next-row select-prev-row select-repositioned-row select-row selectable selected selected-items selection-end selection-list selection-start selection-text
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
174 syn keyword ProgressOperator send sensitive separate-connection separators set-blue[-value] set-break set-cell-focus set-contents set-dynamic set-green[-value] set-leakpoint set-pointer-valu[e]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
175 syn keyword ProgressOperator s[et-property] set-red[-value] set-repositioned-row set-selection set-size set-wait[-state] side-lab side-lab[e] side-lab[el] side-label-handl[e] side-lab[els] silent
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
176 syn keyword ProgressOperator simple single size size-c[hars] size-p[ixels] slider smallint sort source source-procedure sql sqrt start status-area status-area-font status-bar stdcall stenciled stop stoppe[d]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
177 syn keyword ProgressOperator stored-proc[edure] string sub-ave[rage] sub-count sub-max[imum] sub-me[nu] sub-menu-help sub-min[imum] sub-total subscribe subst[itute] substr[ing] subtype sum super suppress-warning[s]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
178 syn keyword ProgressOperator system-alert-box[es] system-help tab-position tabbable target target-procedure temp-dir[ectory] temp-table terminate text-selected three-d through thru tic-marks time-source title-bgc[olor]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
179 syn keyword ProgressOperator title-dc[olor] title-fgc[olor] title-fo[nt] to-rowid toggle-box tool-bar top topic total trailing trunc[ate] type unbuff[ered] unique-id unload unsubscribe upper use use-dic[t-exps]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
180 syn keyword ProgressOperator use-filename use-text v6display valid-event valid-handle validate validate-condition validate-message var[iable] vert[ical] virtual-height virtual-height-c[hars]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
181 syn keyword ProgressOperator virtual-height-pixel[s] virtual-width virtual-width-ch[ars] virtual-width-pi[xels] visible wait warning weekday widget widget-e[nter] widget-h[andle] widget-l[eave]
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
182 syn keyword ProgressOperator widget-pool width width[-chars] width-p[ixels] window-name window-sta[te] window-sys[tem] word-wrap x-of y-of year yes-no yes-no-cancel _dcm
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
184 syn keyword ProgressType char[acter] int[eger] format
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
185 syn keyword ProgressType var[iable] log[ical] da[te]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 syn sync lines=800
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 " 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
192 if version >= 508 || !exists("did_progress_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 let did_progress_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 " The default methods for highlighting. Can be overridden later.
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
201 HiLink ProgressByte Number
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
202 HiLink ProgressCase Repeat
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
203 HiLink ProgressComment Comment
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 HiLink ProgressConditional Conditional
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
205 HiLink ProgressDebug Debug
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
206 HiLink ProgressDo Repeat
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
207 HiLink ProgressEndError Error
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
208 HiLink ProgressFor Repeat
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
209 HiLink ProgressFunction Procedure
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
210 HiLink ProgressIdentifier Identifier
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
211 HiLink ProgressInclude Include
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 HiLink ProgressMatrixDelimiter Identifier
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
213 HiLink ProgressNumber Number
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
214 HiLink ProgressOperator Operator
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
215 HiLink ProgressPreProc PreProc
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
216 HiLink ProgressProcedure Procedure
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
217 HiLink ProgressQuote Delimiter
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
218 HiLink ProgressRepeat Repeat
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
219 HiLink ProgressReserved Statement
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
220 HiLink ProgressSpaceError Error
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
221 HiLink ProgressString String
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
222 HiLink ProgressTodo Todo
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
223 HiLink ProgressType Statement
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
224 HiLink ProgressShowTab Error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 let b:current_syntax = "progress"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 826
diff changeset
231 " vim: ts=8 sw=8