Mercurial > vim
annotate runtime/syntax/cf.vim @ 8255:355652348057 v7.4.1420
commit https://github.com/vim/vim/commit/d2227a02b03708eb0579e17612d5a96262f3d463
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 25 22:37:42 2016 +0100
patch 7.4.1420
Problem: Missing makefile.
Solution: Type the path correctly.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 25 Feb 2016 22:45:05 +0100 |
parents | 3259c3923c1e |
children | 46763b01cd9a |
rev | line source |
---|---|
558 | 1 " Vim syntax file |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
2 " Language: CFML |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
3 " Maintainer: Toby Woodwark (toby.woodwark+vim@gmail.com) |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
4 " Last Change: 2010-03-02 |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
5 " Filenames: *.cfc *.cfm |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
6 " Version: Adobe ColdFusion 9 |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
7 " Usage: This file contains both syntax definitions |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
8 " and a list of known builtin tags, functions and keywords. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
9 " Refs - |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
10 " http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WS8f0cc78011fffa71866534d11cdad96e4e-8000.html |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
11 " http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec17324-8000.html |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
12 " TODO: |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
13 " Support the limited array literal and struct literal syntax in CF8+. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
14 " Highlight namespaced tags fom cfimport. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
15 " Complete CF9+ cfscript support. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
16 " Railo support. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
17 " Options: |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
18 " d_noinclude_html - set to prevent HTML highlighting. Use this if you are not working on HTML. |
558 | 19 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
20 " Quit if a syntax file is already loaded. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
21 if exists("b:current_syntax") |
558 | 22 finish |
23 endif | |
24 | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
25 if exists("d_noinclude_html") |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
26 " Define alternatives to the HTML syntax file. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
27 |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
28 " Copied from html.vim - the rules for matching a CF tag match those for HTML/SGML. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
29 " CFML syntax is more permissive when it comes to superfluous <> chars. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
30 syn region htmlString contained start=+"+ end=+"+ contains=@htmlPreproc |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
31 syn region htmlString contained start=+'+ end=+'+ contains=@htmlPreproc |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
32 syn match htmlValue contained "=[\t ]*[^'" \t>][^ \t>]*"hs=s+1 contains=@htmlPreproc |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
33 " Hacked htmlTag so that it only matches cf tags and not random <> chars. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
34 syn region htmlEndTag start=+</cf+ end=+>+ contains=htmlTagN,htmlTagError |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
35 syn region htmlTag start=+<\s*cf[^/]+ end=+>+ contains=htmlTagN,htmlString,htmlArg,htmlValue,htmlTagError,@htmlPreproc,@htmlArgCluster |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
36 syn match htmlTagN contained +<\s*[-a-zA-Z0-9]\++hs=s+1 contains=htmlTagName,@htmlTagNameCluster |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
37 syn match htmlTagN contained +</\s*[-a-zA-Z0-9]\++hs=s+2 contains=htmlTagName,@htmlTagNameCluster |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
38 syn match htmlTagError contained "[^>]<"ms=s+1 |
558 | 39 else |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
40 " Use all the stuff from the HTML syntax file. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
41 " This means eg HTML comments are highlighted as comments, even if they include cf tags. |
558 | 42 runtime! syntax/html.vim |
43 endif | |
44 | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
45 syn sync fromstart |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
46 syn sync maxlines=200 |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
47 syn case ignore |
558 | 48 |
49 " Scopes and keywords. | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
50 syn keyword cfScope contained cgi cffile cookie request caller this thistag |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
51 syn keyword cfScope contained cfcatch variables application server session client form url local |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
52 syn keyword cfScope contained arguments super cfhttp attributes error |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
53 syn keyword cfBool contained yes no true false |
558 | 54 |
55 " Operator strings. | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
56 " ColdFusion <=7: |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
57 syn keyword cfOperator contained xor eqv and or lt le lte gt ge gte equal eq neq not is mod contains |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
58 syn match cfOperatorMatch contained "+" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
59 syn match cfOperatorMatch contained "\-" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
60 syn match cfOperatorMatch contained "[\*\/\\\^\&][\+\-\*\/\\\^\&]\@!" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
61 syn match cfOperatorMatch contained "\<\(not\_s\+\)\?equal\>" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
62 syn match cfOperatorMatch contained "\<does\_s\+not\_s\+contain\>" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
63 syn match cfOperatorMatch contained "\<\(greater\|less\)\_s\+than\(\_s\+or\_s\+equal\_s\+to\)\?\>" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
64 " ColdFusion 8: |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
65 syn keyword cfOperator contained imp |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
66 syn match cfOperatorMatch contained "[?%:!]" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
67 syn match cfOperatorMatch contained "[\+\-\*\/\&]=" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
68 syn match cfOperatorMatch contained "++" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
69 syn match cfOperatorMatch contained "--" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
70 syn match cfOperatorMatch contained "&&" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
71 syn match cfOperatorMatch contained "||" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
72 |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
73 syn cluster cfOperatorCluster contains=cfOperator,cfOperatorMatch |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
74 |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
75 " Custom tags called with the <cf_xxx> syntax. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
76 syn match cfCustomTagName contained "\<cf_[a-zA-Z0-9_]\+\>" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
77 " (TODO match namespaced tags imported using cfimport, similarly.) |
558 | 78 |
79 " Tag names. | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
80 " ColdFusion <=7: |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
81 syn keyword cfTagName contained cfabort cfapplet cfapplication cfargument cfassociate |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
82 syn keyword cfTagName contained cfbreak cfcache cfcalendar cfcase cfcatch |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
83 syn keyword cfTagName contained cfchart cfchartdata cfchartseries cfcol cfcollection |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
84 syn keyword cfTagName contained cfcomponent cfcontent cfcookie cfdefaultcase cfdirectory |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
85 syn keyword cfTagName contained cfdocument cfdocumentitem cfdocumentsection cfdump cfelse |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
86 syn keyword cfTagName contained cfelseif cferror cfexecute cfexit cffile cfflush cfform |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
87 syn keyword cfTagName contained cfformgroup cfformitem cfftp cffunction |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
88 syn keyword cfTagName contained cfgrid cfgridcolumn cfgridrow cfgridupdate cfheader |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
89 syn keyword cfTagName contained cfhtmlhead cfhttp cfhttpparam cfif cfimport |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
90 syn keyword cfTagName contained cfinclude cfindex cfinput cfinsert cfinvoke cfinvokeargument |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
91 syn keyword cfTagName contained cfldap cflocation cflock cflog cflogin cfloginuser cflogout |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
92 syn keyword cfTagName contained cfloop cfmail cfmailparam cfmailpart cfmodule |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
93 syn keyword cfTagName contained cfNTauthenticate cfobject cfobjectcache cfoutput cfparam |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
94 syn keyword cfTagName contained cfpop cfprocessingdirective cfprocparam cfprocresult |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
95 syn keyword cfTagName contained cfproperty cfquery cfqueryparam cfregistry cfreport |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
96 syn keyword cfTagName contained cfreportparam cfrethrow cfreturn cfsavecontent cfschedule |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
97 syn keyword cfTagName contained cfscript cfsearch cfselect cfservletparam cfset |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
98 syn keyword cfTagName contained cfsetting cfsilent cfslider cfstoredproc cfswitch cftable |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
99 syn keyword cfTagName contained cftextarea cftextinput cfthrow cftimer cftrace cftransaction |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
100 syn keyword cfTagName contained cftree cftreeitem cftry cfupdate cfwddx cfxml |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
101 " ColdFusion 8: |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
102 syn keyword cfTagName contained cfajaximport cfajaxproxy cfdbinfo cfdiv cfexchangecalendar |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
103 syn keyword cfTagName contained cfexchangeconnection cfexchangecontact cfexchangefilter |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
104 syn keyword cfTagName contained cfexchangemail cfexchangetask cffeed |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
105 syn keyword cfTagName contained cfinterface cflayout cflayoutarea cfmenu cfmenuitem |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
106 syn keyword cfTagName contained cfpdf cfpdfform cfpdfformparam cfpdfparam cfpdfsubform cfpod |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
107 syn keyword cfTagName contained cfpresentation cfpresentationslide cfpresenter cfprint |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
108 syn keyword cfTagName contained cfsprydataset cfthread cftooltip cfwindow cfzip cfzipparam |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
109 " ColdFusion 9: |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
110 syn keyword cfTagName contained cfcontinue cffileupload cffinally |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
111 syn keyword cfTagName contained cfimage cfimap |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
112 syn keyword cfTagName contained cfmap cfmapitem cfmediaplayer cfmessagebox |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
113 syn keyword cfTagName contained cfprocparam cfprogressbar |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
114 syn keyword cfTagName contained cfsharepoint cfspreadsheet |
558 | 115 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
116 " Tag attributes. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
117 " XXX Not updated for ColdFusion 8/9. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
118 " These are becoming a headache to maintain, so might be removed. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
119 syn keyword cfArg contained abort accept access accessible action addnewline addtoken |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
120 syn keyword cfArg contained agentname align appendkey appletsource application |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
121 syn keyword cfArg contained applicationtimeout applicationtoken archive |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
122 syn keyword cfArg contained argumentcollection arguments asciiextensionlist |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
123 syn keyword cfArg contained attachmentpath attributecollection attributes autowidth |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
124 syn keyword cfArg contained backgroundvisible basetag bcc bgcolor bind bindingname |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
125 syn keyword cfArg contained blockfactor body bold border branch cachedafter cachedwithin |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
126 syn keyword cfArg contained casesensitive category categorytree cc cfsqltype charset |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
127 syn keyword cfArg contained chartheight chartwidth checked class clientmanagement |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
128 syn keyword cfArg contained clientstorage codebase colheaderalign colheaderbold |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
129 syn keyword cfArg contained colheaderfont colheaderfontsize colheaderitalic colheaders |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
130 syn keyword cfArg contained colheadertextcolor collection colorlist colspacing columns |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
131 syn keyword cfArg contained completepath component condition connection contentid |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
132 syn keyword cfArg contained context contextbytes contexthighlightbegin |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
133 syn keyword cfArg contained contexthighlightend contextpassages cookiedomain criteria |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
134 syn keyword cfArg contained custom1 custom2 custom3 custom4 data dataalign |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
135 syn keyword cfArg contained databackgroundcolor datacollection datasource daynames |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
136 syn keyword cfArg contained dbname dbserver dbtype dbvarname debug default delete |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
137 syn keyword cfArg contained deletebutton deletefile delimiter delimiters description |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
138 syn keyword cfArg contained destination detail directory disabled display displayname |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
139 syn keyword cfArg contained disposition dn domain editable enablecab enablecfoutputonly |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
140 syn keyword cfArg contained enabled encoded encryption enctype enddate endrange endtime |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
141 syn keyword cfArg contained entry errorcode exception existing expand expires expireurl |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
142 syn keyword cfArg contained expression extendedinfo extends extensions external |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
143 syn keyword cfArg contained failifexists failto file filefield filename filter |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
144 syn keyword cfArg contained firstdayofweek firstrowasheaders fixnewline font fontbold |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
145 syn keyword cfArg contained fontembed fontitalic fontsize foregroundcolor format |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
146 syn keyword cfArg contained formfields formula from generateuniquefilenames getasbinary |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
147 syn keyword cfArg contained grid griddataalign gridlines groovecolor group |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
148 syn keyword cfArg contained groupcasesensitive header headeralign headerbold headerfont |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
149 syn keyword cfArg contained headerfontsize headeritalic headerlines headertextcolor |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
150 syn keyword cfArg contained height highlighthref hint href hrefkey hscroll hspace html |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
151 syn keyword cfArg contained htmltable id idletimeout img imgopen imgstyle index inline |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
152 syn keyword cfArg contained input insert insertbutton interval isolation italic item |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
153 syn keyword cfArg contained itemcolumn key keyonly label labelformat language list |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
154 syn keyword cfArg contained listgroups locale localfile log loginstorage lookandfeel |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
155 syn keyword cfArg contained mailerid mailto marginbottom marginleft marginright |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
156 syn keyword cfArg contained margintop markersize markerstyle mask max maxlength maxrows |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
157 syn keyword cfArg contained message messagenumber method mimeattach mimetype min mode |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
158 syn keyword cfArg contained modifytype monthnames multipart multiple name nameconflict |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
159 syn keyword cfArg contained namespace new newdirectory notsupported null numberformat |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
160 syn keyword cfArg contained object omit onblur onchange onclick onerror onfocus |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
161 syn keyword cfArg contained onkeydown onkeyup onload onmousedown onmouseup onreset |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
162 syn keyword cfArg contained onsubmit onvalidate operation orderby orientation output |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
163 syn keyword cfArg contained outputfile overwrite ownerpassword pageencoding pageheight |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
164 syn keyword cfArg contained pagetype pagewidth paintstyle param_1 param_2 param_3 |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
165 syn keyword cfArg contained param_4 param_5 param_6 param_7 param_8 param_9 parent |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
166 syn keyword cfArg contained parrent passive passthrough password path pattern |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
167 syn keyword cfArg contained permissions picturebar pieslicestyle port porttypename |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
168 syn keyword cfArg contained prefix preloader preservedata previouscriteria procedure |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
169 syn keyword cfArg contained protocol provider providerdsn proxybypass proxypassword |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
170 syn keyword cfArg contained proxyport proxyserver proxyuser publish query queryasroot |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
171 syn keyword cfArg contained queryposition range rebind recurse redirect referral |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
172 syn keyword cfArg contained refreshlabel remotefile replyto report requesttimeout |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
173 syn keyword cfArg contained required reset resoleurl resolveurl result resultset |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
174 syn keyword cfArg contained retrycount returnasbinary returncode returntype |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
175 syn keyword cfArg contained returnvariable roles rotated rowheaderalign rowheaderbold |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
176 syn keyword cfArg contained rowheaderfont rowheaderfontsize rowheaderitalic rowheaders |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
177 syn keyword cfArg contained rowheadertextcolor rowheaderwidth rowheight scale scalefrom |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
178 syn keyword cfArg contained scaleto scope scriptprotect scriptsrc secure securitycontext |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
179 syn keyword cfArg contained select selectcolor selected selecteddate selectedindex |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
180 syn keyword cfArg contained selectmode separator seriescolor serieslabel seriesplacement |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
181 syn keyword cfArg contained server serviceport serviceportname sessionmanagement |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
182 syn keyword cfArg contained sessiontimeout setclientcookies setcookie setdomaincookies |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
183 syn keyword cfArg contained show3d showborder showdebugoutput showerror showlegend |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
184 syn keyword cfArg contained showmarkers showxgridlines showygridlines size skin sort |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
185 syn keyword cfArg contained sortascendingbutton sortcontrol sortdescendingbutton |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
186 syn keyword cfArg contained sortxaxis source spoolenable sql src srcfile start startdate |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
187 syn keyword cfArg contained startrange startrow starttime status statuscode statustext |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
188 syn keyword cfArg contained step stoponerror style subject suggestions |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
189 syn keyword cfArg contained suppresswhitespace tablename tableowner tablequalifier |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
190 syn keyword cfArg contained taglib target task template text textcolor textqualifier |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
191 syn keyword cfArg contained throwonerror throwonerror throwonfailure throwontimeout |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
192 syn keyword cfArg contained timeout timespan tipbgcolor tipstyle title to tooltip |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
193 syn keyword cfArg contained toplevelvariable transfermode type uid unit url urlpath |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
194 syn keyword cfArg contained useragent username userpassword usetimezoneinfo validate |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
195 syn keyword cfArg contained validateat value valuecolumn values valuesdelimiter |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
196 syn keyword cfArg contained valuesdisplay var variable vertical visible vscroll vspace |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
197 syn keyword cfArg contained webservice width wmode wraptext wsdlfile xaxistitle |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
198 syn keyword cfArg contained xaxistype xoffset yaxistitle yaxistype yoffset |
558 | 199 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
200 " Functions. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
201 " ColdFusion <=7: |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
202 syn keyword cfFunctionName contained ACos ASin Abs AddSOAPRequestHeader AddSOAPResponseHeader |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
203 syn keyword cfFunctionName contained ArrayAppend ArrayAvg ArrayClear ArrayDeleteAt ArrayInsertAt |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
204 syn keyword cfFunctionName contained ArrayIsEmpty ArrayLen ArrayMax ArrayMin ArrayNew |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
205 syn keyword cfFunctionName contained ArrayPrepend ArrayResize ArraySet ArraySort ArraySum |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
206 syn keyword cfFunctionName contained ArraySwap ArrayToList Asc Atn AuthenticatedContext |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
207 syn keyword cfFunctionName contained AuthenticatedUser BinaryDecode BinaryEncode BitAnd |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
208 syn keyword cfFunctionName contained BitMaskClear BitMaskRead BitMaskSet BitNot BitOr BitSHLN |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
209 syn keyword cfFunctionName contained BitSHRN BitXor CJustify Ceiling CharsetDecode CharsetEncode |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
210 syn keyword cfFunctionName contained Chr Compare CompareNoCase Cos CreateDate CreateDateTime |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
211 syn keyword cfFunctionName contained CreateODBCDate CreateODBCDateTime CreateODBCTime |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
212 syn keyword cfFunctionName contained CreateObject CreateTime CreateTimeSpan CreateUUID DE DateAdd |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
213 syn keyword cfFunctionName contained DateCompare DateConvert DateDiff DateFormat DatePart Day |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
214 syn keyword cfFunctionName contained DayOfWeek DayOfWeekAsString DayOfYear DaysInMonth DaysInYear |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
215 syn keyword cfFunctionName contained DecimalFormat DecrementValue Decrypt DecryptBinary |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
216 syn keyword cfFunctionName contained DeleteClientVariable DirectoryExists DollarFormat Duplicate |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
217 syn keyword cfFunctionName contained Encrypt EncryptBinary Evaluate Exp ExpandPath FileExists |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
218 syn keyword cfFunctionName contained Find FindNoCase FindOneOf FirstDayOfMonth Fix FormatBaseN |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
219 syn keyword cfFunctionName contained GenerateSecretKey GetAuthUser GetBaseTagData GetBaseTagList |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
220 syn keyword cfFunctionName contained GetBaseTemplatePath GetClientVariablesList GetContextRoot |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
221 syn keyword cfFunctionName contained GetCurrentTemplatePath GetDirectoryFromPath GetEncoding |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
222 syn keyword cfFunctionName contained GetException GetFileFromPath GetFunctionList |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
223 syn keyword cfFunctionName contained GetGatewayHelper GetHttpRequestData GetHttpTimeString |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
224 syn keyword cfFunctionName contained GetLocalHostIP |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
225 syn keyword cfFunctionName contained GetLocale GetLocaleDisplayName GetMetaData GetMetricData |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
226 syn keyword cfFunctionName contained GetPageContext GetProfileSections GetProfileString |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
227 syn keyword cfFunctionName contained GetSOAPRequest GetSOAPRequestHeader GetSOAPResponse |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
228 syn keyword cfFunctionName contained GetSOAPResponseHeader GetTempDirectory GetTempFile |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
229 syn keyword cfFunctionName contained GetTickCount GetTimeZoneInfo GetToken |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
230 syn keyword cfFunctionName contained HTMLCodeFormat HTMLEditFormat Hash Hour IIf IncrementValue |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
231 syn keyword cfFunctionName contained InputBaseN Insert Int IsArray IsAuthenticated IsAuthorized |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
232 syn keyword cfFunctionName contained IsBinary IsBoolean IsCustomFunction IsDate IsDebugMode |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
233 syn keyword cfFunctionName contained IsDefined |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
234 syn keyword cfFunctionName contained IsLeapYear IsLocalHost IsNumeric |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
235 syn keyword cfFunctionName contained IsNumericDate IsObject IsProtected IsQuery IsSOAPRequest |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
236 syn keyword cfFunctionName contained IsSimpleValue IsStruct IsUserInRole IsValid IsWDDX IsXML |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
237 syn keyword cfFunctionName contained IsXmlAttribute IsXmlDoc IsXmlElem IsXmlNode IsXmlRoot |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
238 syn keyword cfFunctionName contained JSStringFormat JavaCast LCase LJustify LSCurrencyFormat |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
239 syn keyword cfFunctionName contained LSDateFormat LSEuroCurrencyFormat LSIsCurrency LSIsDate |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
240 syn keyword cfFunctionName contained LSIsNumeric LSNumberFormat LSParseCurrency LSParseDateTime |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
241 syn keyword cfFunctionName contained LSParseEuroCurrency LSParseNumber LSTimeFormat LTrim Left |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
242 syn keyword cfFunctionName contained Len ListAppend ListChangeDelims ListContains |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
243 syn keyword cfFunctionName contained ListContainsNoCase ListDeleteAt ListFind ListFindNoCase |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
244 syn keyword cfFunctionName contained ListFirst ListGetAt ListInsertAt ListLast ListLen |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
245 syn keyword cfFunctionName contained ListPrepend ListQualify ListRest ListSetAt ListSort |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
246 syn keyword cfFunctionName contained ListToArray ListValueCount ListValueCountNoCase Log Log10 |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
247 syn keyword cfFunctionName contained Max Mid Min Minute Month MonthAsString Now NumberFormat |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
248 syn keyword cfFunctionName contained ParagraphFormat ParseDateTime Pi |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
249 syn keyword cfFunctionName contained PreserveSingleQuotes Quarter QueryAddColumn QueryAddRow |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
250 syn keyword cfFunctionName contained QueryNew QuerySetCell QuotedValueList REFind REFindNoCase |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
251 syn keyword cfFunctionName contained REReplace REReplaceNoCase RJustify RTrim Rand RandRange |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
252 syn keyword cfFunctionName contained Randomize ReleaseComObject RemoveChars RepeatString Replace |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
253 syn keyword cfFunctionName contained ReplaceList ReplaceNoCase Reverse Right Round Second |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
254 syn keyword cfFunctionName contained SendGatewayMessage SetEncoding SetLocale SetProfileString |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
255 syn keyword cfFunctionName contained SetVariable Sgn Sin SpanExcluding SpanIncluding Sqr StripCR |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
256 syn keyword cfFunctionName contained StructAppend StructClear StructCopy StructCount StructDelete |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
257 syn keyword cfFunctionName contained StructFind StructFindKey StructFindValue StructGet |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
258 syn keyword cfFunctionName contained StructInsert StructIsEmpty StructKeyArray StructKeyExists |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
259 syn keyword cfFunctionName contained StructKeyList StructNew StructSort StructUpdate Tan |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
260 syn keyword cfFunctionName contained TimeFormat ToBase64 ToBinary ToScript ToString Trim UCase |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
261 syn keyword cfFunctionName contained URLDecode URLEncodedFormat URLSessionFormat Val ValueList |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
262 syn keyword cfFunctionName contained Week Wrap WriteOutput XmlChildPos XmlElemNew XmlFormat |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
263 syn keyword cfFunctionName contained XmlGetNodeType XmlNew XmlParse XmlSearch XmlTransform |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
264 syn keyword cfFunctionName contained XmlValidate Year YesNoFormat |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
265 " ColdFusion 8: |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
266 syn keyword cfFunctionName contained AjaxLink AjaxOnLoad ArrayIsDefined BinaryDecode BinaryEncode CharsetDecode CharsetEncode |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
267 syn keyword cfFunctionName contained DecryptBinary DeserializeJSON DotNetToCFType EncryptBinary FileClose FileCopy FileDelete |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
268 syn keyword cfFunctionName contained FileIsEOF FileMove FileOpen FileRead FileReadBinary FileReadLine FileSetAccessMode FileSetAttribute |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
269 syn keyword cfFunctionName contained FileSetLastModified FileWrite GenerateSecretKey GetGatewayHelper GetAuthUser GetComponentMetaData |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
270 syn keyword cfFunctionName contained GetContextRoot GetEncoding GetFileInfo GetLocaleDisplayName GetLocalHostIP GetMetaData |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
271 syn keyword cfFunctionName contained GetPageContext GetPrinterInfo GetProfileSections GetReadableImageFormats GetSOAPRequest |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
272 syn keyword cfFunctionName contained GetSOAPRequestHeader GetSOAPResponse GetSOAPResponseHeader GetUserRoles GetWriteableImageFormats |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
273 syn keyword cfFunctionName contained ImageAddBorder ImageBlur ImageClearRect ImageCopy ImageCrop ImageDrawArc ImageDrawBeveledRect |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
274 syn keyword cfFunctionName contained ImageDrawCubicCurve ImageDrawPoint ImageDrawLine ImageDrawLines ImageDrawOval |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
275 syn keyword cfFunctionName contained ImageDrawQuadraticCurve ImageDrawRect ImageDrawRoundRect ImageDrawText ImageFlip ImageGetBlob |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
276 syn keyword cfFunctionName contained ImageGetBufferedImage ImageGetEXIFMetadata ImageGetEXIFTag ImageGetHeight ImageGetIPTCMetadata |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
277 syn keyword cfFunctionName contained ImageGetIPTCTag ImageGetWidth ImageGrayscale ImageInfo ImageNegative ImageNew ImageOverlay |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
278 syn keyword cfFunctionName contained ImagePaste ImageRead ImageReadBase64 ImageResize ImageRotate ImageRotateDrawingAxis ImageScaleToFit |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
279 " ColdFusion 9: |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
280 syn keyword cfFunctionName contained ApplicationStop ArrayContains ArrayDelete ArrayFind ArrayFindNoCase IsSpreadsheetFile |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
281 syn keyword cfFunctionName contained IsSpreadsheetObject FileSkipBytes Location ObjectLoad SpreadsheetFormatColumn |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
282 syn keyword cfFunctionName contained SpreadsheetFormatColumns SpreadsheetFormatRow SpreadsheetFormatRows SpreadsheetGetCellComment |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
283 syn keyword cfFunctionName contained CacheGetAllIds CacheGetMetadata CacheGetProperties CacheGet CachePut ObjectSave ORMClearSession |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
284 syn keyword cfFunctionName contained ORMCloseSession ORMEvictQueries ORMEvictCollection SpreadsheetGetCellFormula SpreadsheetGetCellValue |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
285 syn keyword cfFunctionName contained SpreadsheetInfo SpreadsheetMergeCells SpreadsheetNew CacheRemove CacheSetProperties DirectoryCreate |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
286 syn keyword cfFunctionName contained DirectoryDelete DirectoryExists ORMEvictEntity ORMEvictQueries ORMExecuteQuery ORMFlush |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
287 syn keyword cfFunctionName contained ORMGetSession SpreadsheetRead SpreadsheetReadBinary SpreadsheetSetActiveSheetNumber |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
288 syn keyword cfFunctionName contained SpreadsheetSetCellComment SpreadsheetSetCellFormula DirectoryList DirectoryRename EntityDelete |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
289 syn keyword cfFunctionName contained EntityLoad EntityLoadByExample ORMGetSessionFactory ORMReload ObjectEquals SpreadsheetAddColumn |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
290 syn keyword cfFunctionName contained SpreadsheetAddFreezePane SpreadsheetSetCellValue SpreadsheetSetActiveSheet SpreadsheetSetFooter |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
291 syn keyword cfFunctionName contained SpreadsheetSetHeader SpreadsheetSetColumnWidth EntityLoadByPK EntityMerge EntityNew EntityReload |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
292 syn keyword cfFunctionName contained EntitySave SpreadsheetAddImage SpreadsheetAddInfo SpreadsheetAddRow SpreadsheetAddRows |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
293 syn keyword cfFunctionName contained SpreadsheetAddSplitPane SpreadsheetShiftColumns SpreadsheetShiftRows SpreadsheetSetRowHeight |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
294 syn keyword cfFunctionName contained SpreadsheetWrite Trace FileDelete FileSeek FileWriteLine GetFunctionCalledName GetVFSMetaData IsIPv6 |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
295 syn keyword cfFunctionName contained IsNull SpreadsheetCreateSheet SpreadsheetDeleteColumn SpreadsheetDeleteColumns SpreadsheetDeleteRow |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
296 syn keyword cfFunctionName contained SpreadsheetDeleteRows SpreadsheetFormatCell TransactionCommit TransactionRollback |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
297 syn keyword cfFunctionName contained TransactionSetSavePoint ThreadTerminate ThreadJoin Throw Writedump Writelog |
1620 | 298 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
299 " Deprecated or obsoleted tags and functions. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
300 syn keyword cfDeprecatedTag contained cfauthenticate cfimpersonate cfgraph cfgraphdata |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
301 syn keyword cfDeprecatedTag contained cfservlet cfservletparam cftextinput |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
302 syn keyword cfDeprecatedTag contained cfinternaladminsecurity cfnewinternaladminsecurity |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
303 syn keyword cfDeprecatedFunction contained GetK2ServerDocCount GetK2ServerDocCountLimit GetTemplatePath |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
304 syn keyword cfDeprecatedFunction contained IsK2ServerABroker IsK2ServerDocCountExceeded IsK2ServerOnline |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
305 syn keyword cfDeprecatedFunction contained ParameterExists AuthenticatedContext AuthenticatedUser |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
306 syn keyword cfDeprecatedFunction contained isAuthenticated isAuthorized isProtected |
558 | 307 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
308 " Add to the HTML clusters. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
309 syn cluster htmlTagNameCluster add=cfTagName,cfCustomTagName,cfDeprecatedTag |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
310 syn cluster htmlArgCluster add=cfArg,cfHashRegion,cfScope |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
311 syn cluster htmlPreproc add=cfHashRegion |
558 | 312 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
313 syn cluster cfExpressionCluster contains=cfFunctionName,cfScope,@cfOperatorCluster,cfScriptStringD,cfScriptStringS,cfScriptNumber,cfBool,cfComment |
558 | 314 |
315 " Evaluation; skip strings ( this helps with cases like nested IIf() ) | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
316 " containedin to add to the TOP of cfOutputRegion. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
317 syn region cfHashRegion start=+#+ skip=+"[^"]*"\|'[^']*'+ end=+#+ contained containedin=cfOutputRegion contains=@cfExpressionCluster,cfScriptParenError |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
318 |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
319 " Hashmarks are significant inside cfoutput tags. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
320 " cfoutput tags may be nested indefinitely. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
321 syn region cfOutputRegion matchgroup=NONE transparent start=+<cfoutput>+ end=+</cfoutput>+ contains=TOP |
558 | 322 |
1620 | 323 " <cfset>, <cfif>, <cfelseif>, <cfreturn> are analogous to hashmarks (implicit |
324 " evaluation) and have 'var' | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
325 syn region cfSetRegion start="<cfset\>" start="<cfreturn\>" start="<cfelseif\>" start="<cfif\>" end='>' keepend contains=@cfExpressionCluster,cfSetLHSRegion,cfSetTagEnd,cfScriptStatement |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
326 syn region cfSetLHSRegion contained start="<cfreturn" start="<cfelseif" start="<cfif" start="<cfset" end="." keepend contains=cfTagName,htmlTag |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
327 syn match cfSetTagEnd contained '>' |
558 | 328 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
329 " CF comments: similar to SGML comments, but can be nested. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
330 syn region cfComment start='<!---' end='--->' contains=cfCommentTodo,cfComment |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
331 syn keyword cfCommentTodo contained TODO FIXME XXX TBD WTF |
558 | 332 |
333 " CFscript | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
334 " TODO better support for new component/function def syntax |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
335 " TODO better support for 'new' |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
336 " TODO highlight metadata (@ ...) inside comments. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
337 syn match cfScriptLineComment contained "\/\/.*$" contains=cfCommentTodo |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
338 syn region cfScriptComment contained start="/\*" end="\*/" contains=cfCommentTodo |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
339 syn match cfScriptBraces contained "[{}]" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
340 syn keyword cfScriptStatement contained return var |
558 | 341 " in CF, quotes are escaped by doubling |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
342 syn region cfScriptStringD contained start=+"+ skip=+\\\\\|""+ end=+"+ extend contains=@htmlPreproc,cfHashRegion |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
343 syn region cfScriptStringS contained start=+'+ skip=+\\\\\|''+ end=+'+ extend contains=@htmlPreproc,cfHashRegion |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
344 syn match cfScriptNumber contained "\<\d\+\>" |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
345 syn keyword cfScriptConditional contained if else |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
346 syn keyword cfScriptRepeat contained while for in |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
347 syn keyword cfScriptBranch contained break switch case default try catch continue finally |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
348 syn keyword cfScriptKeyword contained function |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
349 " argumentCollection is a special argument to function calls |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
350 syn keyword cfScriptSpecial contained argumentcollection |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
351 " ColdFusion 9: |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
352 syn keyword cfScriptStatement contained new import |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
353 " CFscript equivalents of some tags |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
354 syn keyword cfScriptKeyword contained abort component exit import include |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
355 syn keyword cfScriptKeyword contained interface param pageencoding property rethrow thread transaction |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
356 " function/component syntax |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
357 syn keyword cfScriptSpecial contained required extends |
558 | 358 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
359 |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
360 syn cluster cfScriptCluster contains=cfScriptParen,cfScriptLineComment,cfScriptComment,cfScriptStringD,cfScriptStringS,cfScriptFunction,cfScriptNumber,cfScriptRegexpString,cfScriptBoolean,cfScriptBraces,cfHashRegion,cfFunctionName,cfDeprecatedFunction,cfScope,@cfOperatorCluster,cfScriptConditional,cfScriptRepeat,cfScriptBranch,@cfExpressionCluster,cfScriptStatement,cfScriptSpecial,cfScriptKeyword |
558 | 361 |
362 " Errors caused by wrong parenthesis; skip strings | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
363 syn region cfScriptParen contained transparent skip=+"[^"]*"\|'[^']*'+ start=+(+ end=+)+ contains=@cfScriptCluster |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
364 syn match cfScrParenError contained +)+ |
558 | 365 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
366 syn region cfscriptBlock matchgroup=NONE start="<cfscript>" end="<\/cfscript>"me=s-1 keepend contains=@cfScriptCluster,cfscriptTag,cfScrParenError |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
367 syn region cfscriptTag contained start='<cfscript' end='>' keepend contains=cfTagName,htmlTag |
558 | 368 |
1620 | 369 " CFML |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
370 syn cluster cfmlCluster contains=cfComment,@htmlTagNameCluster,@htmlPreproc,cfSetRegion,cfscriptBlock,cfOutputRegion |
1620 | 371 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
372 " cfquery = sql syntax |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
373 if exists("b:current_syntax") |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
374 unlet b:current_syntax |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
375 endif |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
376 syn include @cfSql $VIMRUNTIME/syntax/sql.vim |
1620 | 377 unlet b:current_syntax |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
378 syn region cfqueryTag contained start=+<cfquery+ end=+>+ keepend contains=cfTagName,htmlTag |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
379 syn region cfSqlregion start=+<cfquery\_[^>]*>+ keepend end=+</cfquery>+me=s-1 matchgroup=NONE contains=@cfSql,cfComment,@htmlTagNameCluster,cfqueryTag,cfHashRegion |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
380 |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
381 " Define the highlighting. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
382 command -nargs=+ CfHiLink hi def link <args> |
1620 | 383 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
384 if exists("d_noinclude_html") |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
385 " The default html-style highlighting copied from html.vim. |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
386 CfHiLink htmlTag Function |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
387 CfHiLink htmlEndTag Identifier |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
388 CfHiLink htmlArg Type |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
389 CfHiLink htmlTagName htmlStatement |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
390 CfHiLink htmlValue String |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
391 CfHiLink htmlPreProc PreProc |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
392 CfHiLink htmlString String |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
393 CfHiLink htmlStatement Statement |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
394 CfHiLink htmlValue String |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
395 CfHiLink htmlTagError htmlError |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
396 CfHiLink htmlError Error |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
397 endif |
558 | 398 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
399 CfHiLink cfTagName Statement |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
400 CfHiLink cfCustomTagName Statement |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
401 CfHiLink cfArg Type |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
402 CfHiLink cfFunctionName Function |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
403 CfHiLink cfHashRegion PreProc |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
404 CfHiLink cfComment Comment |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
405 CfHiLink cfCommentTodo Todo |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
406 CfHiLink cfOperator Operator |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
407 CfHiLink cfOperatorMatch Operator |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
408 CfHiLink cfScope Title |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
409 CfHiLink cfBool Constant |
558 | 410 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
411 CfHiLink cfscriptBlock Special |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
412 CfHiLink cfscriptTag htmlTag |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
413 CfHiLink cfSetRegion PreProc |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
414 CfHiLink cfSetLHSRegion htmlTag |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
415 CfHiLink cfSetTagEnd htmlTag |
558 | 416 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
417 CfHiLink cfScriptLineComment Comment |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
418 CfHiLink cfScriptComment Comment |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
419 CfHiLink cfScriptStringS String |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
420 CfHiLink cfScriptStringD String |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
421 CfHiLink cfScriptNumber cfScriptValue |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
422 CfHiLink cfScriptConditional Conditional |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
423 CfHiLink cfScriptRepeat Repeat |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
424 CfHiLink cfScriptBranch Conditional |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
425 CfHiLink cfScriptSpecial Type |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
426 CfHiLink cfScriptStatement Statement |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
427 CfHiLink cfScriptBraces Function |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
428 CfHiLink cfScriptKeyword Function |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
429 CfHiLink cfScriptError Error |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
430 CfHiLink cfDeprecatedTag Error |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
431 CfHiLink cfDeprecatedFunction Error |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
432 CfHiLink cfScrParenError cfScriptError |
558 | 433 |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
434 CfHiLink cfqueryTag htmlTag |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
435 |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
436 delcommand CfHiLink |
558 | 437 |
438 let b:current_syntax = "cf" | |
439 | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1620
diff
changeset
|
440 " vim: nowrap sw=2 ts=8 noet |