2 /*************************************************************************************
6 * Copyright: (c) 2006 Diego
7 * Release Version: 1.0.7.9
8 * CVS Revision Version: $Revision: 1.4 $
9 * Date Started: 2006/02/25
10 * Last Modified: $Date: 2006/04/23 01:14:41 $
12 * ColdFusion language file for GeSHi.
19 * TODO (updated 2006/02/25)
20 * -------------------------
22 *************************************************************************************
24 * This file is part of GeSHi.
26 * GeSHi is free software; you can redistribute it and/or modify
27 * it under the terms of the GNU General Public License as published by
28 * the Free Software Foundation; either version 2 of the License, or
29 * (at your option) any later version.
31 * GeSHi is distributed in the hope that it will be useful,
32 * but WITHOUT ANY WARRANTY; without even the implied warranty of
33 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34 * GNU General Public License for more details.
36 * You should have received a copy of the GNU General Public License
37 * along with GeSHi; if not, write to the Free Software
38 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
40 ************************************************************************************/
42 $language_data = array (
44 'COMMENT_SINGLE' => array(1 => '//'),
45 'COMMENT_MULTI' => array('<!--' => '-->','<!---' => '--->'),
46 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE
,
47 'QUOTEMARKS' => array("'", '"'),
48 'ESCAPE_CHAR' => '\\',
52 '<cfabort', '<cfapplet', '<cfapplication', '<cfargument', '<cfassociate', '<<cfbreak>',
53 '<cfcache', '<cfcase', '<cfcatch', '</cfcatch>', '<cfchart', '</cfchart>', '<cfchartdata',
54 '<cfchartseries', '</cfchartseries>', '<cfcol', '<cfcollection', '<cfcomponent', '</cfcomponent>',
55 '<cfcontent', '<cfcookie', '</cfdefaultcase>', '<cfdirectory', '<cfdocument', '</cfdocument>',
56 '<cfdocumentitem', '</cfdocumentitem>', '<cfdocumentsection', '</cfdocumentsection>', '<cfdump',
57 '<cfelse', '<cfelseif', '<cferror', '<cfexecute', '</cfexecute>', '<cfexit', '<cffile',
58 '<cfflush', '<cfform', '</cfform>', '<cfformgroup', '</cfformgroup', '<cfformitem',
59 '</cfformitem>', '<cfftp', '<cffunction', '</cffunction>', '<cfgrid', '</cfgrid>',
60 '<cfgridcolumn', '<cfgridrow', '<cfgridupdate', '<cfheader', '<cfhtmlhead', '<cfhttp',
61 '</cfhttp>', '<cfhttpparam', '<cfif', '</cfif>', '<cfimport', '<cfinclude', '<cfindex',
62 '<cfinput', '<cfinsert', '<cfinvoke', '<cfinvokeargument', '<cfldap', '<cflocation', '<cflock',
63 '</cflock>', '<cflog', '<cflogin', '</cflogin>', '<cfloginuser', '<cflogout', '<cfloop',
64 '</cfloop>', '<cfmail', '</cfmail>', '<cfmailparam', '<cfmailpart', '</cfmailpart>',
65 '<cfmodule', '<cfNTauthenticate', '<cfobject', '<cfobjectcache', '<cfoutput>', '<cfoutput', '</cfoutput>',
66 '<cfparam', '<cfpop', '<cfprocessingdirective', '</cfprocessingdirective>', '<cfprocparam',
67 '<cfprocresult', '<cfproperty', '<cfquery', '</cfquery>', '<cfqueryparam', '<cfregistry',
68 '</cfregistry>', '<cfreport', '</cfreport>', '<cfreportparam', '</cfreportparam>',
69 '<cfrethrow', '<cfreturn', '<cfsavecontent', '</cfsavecontent>', '<cfschedule', '<cfscript', '<cfscript>',
70 '</cfscript>', '<cfsearch', '<cfselect', '</cfselect>', '<cfset', '<cfsetting', '<cfsilent',
71 '</cfsilent>', '<cfstoredproc', '</cfstoredproc>', '<cfswitch', '</cfswitch>', '<cftable',
72 '</cftable>', '<cftextarea', '</cftextarea>', '<cfthrow', '<cftimer', '</cftimer>',
73 '<cftrace', '</cftrace>', '<cftransaction', '</cftransaction>', '<cftree', '</cftree>',
74 '<cftreeitem', '<cftry', '</cftry>', '<cfupdate', '<cfwddx','<','>'
78 '<a>', '<abbr>', '<acronym>', '<address>', '<applet>',
79 '<a', '<abbr', '<acronym', '<address', '<applet',
80 '</a>', '</abbr>', '</acronym>', '</address>', '</applet>',
81 '</a', '</abbr', '</acronym', '</address', '</applet',
83 '<base>', '<basefont>', '<bdo>', '<big>', '<blockquote>', '<body>', '<br>', '<button>', '<b>',
84 '<base', '<basefont', '<bdo', '<big', '<blockquote', '<body', '<br', '<button', '<b',
85 '</base>', '</basefont>', '</bdo>', '</big>', '</blockquote>', '</body>', '</br>', '</button>', '</b>',
86 '</base', '</basefont', '</bdo', '</big', '</blockquote', '</body', '</br','<br />', '</button', '</b',
88 '<caption>', '<center>', '<cite>', '<code>', '<colgroup>', '<col>',
89 '<caption', '<center', '<cite', '<code', '<colgroup', '<col',
90 '</caption>', '</center>', '</cite>', '</code>', '</colgroup>', '</col>',
91 '</caption', '</center', '</cite', '</code', '</colgroup', '</col',
93 '<dd>', '<del>', '<dfn>', '<dir>', '<div>', '<dl>', '<dt>',
94 '<dd', '<del', '<dfn', '<dir', '<div', '<dl', '<dt',
95 '</dd>', '</del>', '</dfn>', '</dir>', '</div>', '</dl>', '</dt>',
96 '</dd', '</del', '</dfn', '</dir', '</div', '</dl', '</dt',
103 '<fieldset>', '<font>', '<form>', '<frame>', '<frameset>',
104 '<fieldset', '<font', '<form', '<frame', '<frameset',
105 '</fieldset>', '</font>', '</form>', '</frame>', '</frameset>',
106 '</fieldset', '</font', '</form', '</frame', '</frameset',
108 '<h1>', '<h2>', '<h3>', '<h4>', '<h5>', '<h6>', '<head>', '<hr>', '<html>',
109 '<h1', '<h2', '<h3', '<h4', '<h5', '<h6', '<head', '<hr', '<html',
110 '</h1>', '</h2>', '</h3>', '</h4>', '</h5>', '</h6>', '</head>', '</hr>', '</html>',
111 '</h1', '</h2', '</h3', '</h4', '</h5', '</h6', '</head', '</hr', '</html',
113 '<iframe>', '<ilayer>', '<img>', '<input>', '<ins>', '<isindex>', '<i>',
114 '<iframe', '<ilayer', '<img', '<input', '<ins', '<isindex', '<i',
115 '</iframe>', '</ilayer>', '</img>', '</input>', '</ins>', '</isindex>', '</i>',
116 '</iframe', '</ilayer', '</img', '</input', '</ins', '</isindex', '</i',
123 '<label>', '<legend>', '<link>', '<li>',
124 '<label', '<legend', '<link', '<li',
125 '</label>', '</legend>', '</link>', '</li>',
126 '</label', '</legend', '</link', '</li',
128 '<map>', '<meta>',
129 '<map', '<meta',
130 '</map>', '</meta>',
131 '</map', '</meta',
133 '<noframes>', '<noscript>',
134 '<noframes', '<noscript',
135 '</noframes>', '</noscript>',
136 '</noframes', '</noscript',
138 '<object>', '<ol>', '<optgroup>', '<option>',
139 '<object', '<ol', '<optgroup', '<option',
140 '</object>', '</ol>', '</optgroup>', '</option>',
141 '</object', '</ol', '</optgroup', '</option',
143 '<param>', '<pre>', '<p>',
144 '<param', '<pre', '<p',
145 '</param>', '</pre>', '</p>',
146 '</param', '</pre', '</p',
153 '<samp>', '<script>', '<select>', '<small>', '<span>', '<strike>', '<strong>', '<style>', '<sub>', '<sup>', '<s>',
154 '<samp', '<script', '<select', '<small', '<span', '<strike', '<strong', '<style', '<sub', '<sup', '<s',
155 '</samp>', '</script>', '</select>', '</small>', '</span>', '</strike>', '</strong>', '</style>', '</sub>', '</sup>', '</s>',
156 '</samp', '</script', '</select', '</small', '</span', '</strike', '</strong', '</style', '</sub', '</sup', '</s',
158 '<table>', '<tbody>', '<td>', '<textarea>', '<text>', '<tfoot>', '<thead>', '<th>', '<title>', '<tr>', '<tt>',
159 '<table', '<tbody', '<td', '<textarea', '<text', '<tfoot', '<tfoot', '<thead', '<th', '<title', '<tr', '<tt',
160 '</table>', '</tbody>', '</td>', '</textarea>', '</text>', '</tfoot>', '</thead', '</tfoot', '</th>', '</title>', '</tr>', '</tt>',
161 '</table', '</tbody', '</td', '</textarea', '</text', '</tfoot', '</tfoot', '</thead', '</th', '</title', '</tr', '</tt',
163 '<ul>', '<u>',
165 '</ul>', '</ul>',
175 /* HTML attributes */
177 'abbr', 'accept-charset', 'accept', 'accesskey', 'action', 'align', 'alink', 'alt', 'archive', 'axis',
178 'background', 'bgcolor', 'border',
179 'cellpadding', 'cellspacing', 'char', 'char', 'charoff', 'charset', 'checked', 'cite', 'class', 'classid', 'clear', 'code', 'codebase', 'codetype', 'color', 'cols', 'colspan', 'compact', 'content', 'coords',
180 'data', 'datetime', 'declare', 'defer', 'dir', 'disabled',
182 'face', 'for', 'frame', 'frameborder',
183 'headers', 'height', 'href', 'hreflang', 'hspace', 'http-equiv',
185 'label', 'lang', 'language', 'link', 'longdesc',
186 'marginheight', 'marginwidth', 'maxlength', 'media', 'method', 'multiple',
187 'name', 'nohref', 'noresize', 'noshade', 'nowrap',
188 'object', 'onblur', 'onchange', 'onclick', 'ondblclick', 'onfocus', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onreset', 'onselect', 'onsubmit', 'onunload',
190 'readonly', 'rel', 'rev', 'rowspan', 'rows', 'rules',
191 'scheme', 'scope', 'scrolling', 'selected', 'shape', 'size', 'span', 'src', 'standby', 'start', 'style', 'summary',
192 'tabindex', 'target', 'text', 'title', 'type',
194 'valign', 'value', 'valuetype', 'version', 'vlink', 'vspace',
197 /* CFM Script delimeters */
199 'var', 'function', 'while', 'if','else'
203 'Abs', 'GetFunctionList', 'LSTimeFormat','ACos','GetGatewayHelper','LTrim','AddSOAPRequestHeader','GetHttpRequestData',
204 'Max','AddSOAPResponseHeader','GetHttpTimeString','Mid','ArrayAppend','GetLocale','Min','ArrayAvg','GetLocaleDisplayName',
205 'Minute','ArrayClear','GetMetaData','Month','ArrayDeleteAt','GetMetricData','MonthAsString','ArrayInsertAt','GetPageContext',
206 'Now','ArrayIsEmpty','GetProfileSections','NumberFormat','ArrayLen','GetProfileString','ParagraphFormat','ArrayMax',
207 'GetLocalHostIP','ParseDateTime','ArrayMin','GetSOAPRequest','Pi','ArrayNew','GetSOAPRequestHeader','PreserveSingleQuotes',
208 'ArrayPrepend','GetSOAPResponse','Quarter','ArrayResize','GetSOAPResponseHeader','QueryAddColumn','ArraySet',
209 'GetTempDirectory','QueryAddRow','ArraySort','GetTempDirectory','QueryNew','ArraySum','GetTempFile','QuerySetCell',
210 'ArraySwap','GetTickCount','QuotedValueList','ArrayToList','GetTimeZoneInfo','Rand','Asc','GetToken','Randomize',
211 'ASin','Hash','RandRange','Atn','Hour','REFind','BinaryDecode','HTMLCodeFormat','REFindNoCase','BinaryEncode',
212 'HTMLEditFormat','ReleaseComObject','BitAnd','IIf','RemoveChars','BitMaskClear','IncrementValue','RepeatString',
213 'BitMaskRead','InputBaseN','Replace','BitMaskSet','Insert','ReplaceList','BitNot','Int','ReplaceNoCase','BitOr',
214 'IsArray','REReplace','BitSHLN','IsBinary','REReplaceNoCase','BitSHRN','IsBoolean','Reverse','BitXor','IsCustomFunction',
215 'Right','Ceiling','IsDate','RJustify','CharsetDecode','IsDebugMode','Round','CharsetEncode','IsDefined','RTrim',
216 'Chr','IsLeapYear','Second','CJustify','IsLocalHost','SendGatewayMessage','Compare','IsNumeric','SetEncoding',
217 'CompareNoCase','IsNumericDate','SetLocale','Cos','IsObject','SetProfileString','CreateDate','IsQuery','SetVariable',
218 'CreateDateTime','IsSimpleValue','Sgn','CreateObject','IsSOAPRequest','Sin','CreateODBCDate','IsStruct','SpanExcluding',
219 'CreateODBCDateTime','IsUserInRole','SpanIncluding','CreateODBCTime','IsValid','Sqr','CreateTime','IsWDDX','StripCR',
220 'CreateTimeSpan','IsXML','StructAppend','CreateUUID','IsXmlAttribute','StructClear','DateAdd','IsXmlDoc','StructCopy',
221 'DateCompare','IsXmlElem','StructCount','DateConvert','IsXmlNode','StructDelete','DateDiff','IsXmlRoot','StructFind',
222 'DateFormat','JavaCast','StructFindKey','DatePart','JSStringFormat','StructFindValue','Day','LCase','StructGet',
223 'DayOfWeek','Left','StructInsert','DayOfWeekAsString','Len','StructIsEmpty','DayOfYear','ListAppend','StructKeyArray',
224 'DaysInMonth','ListChangeDelims','StructKeyExists','DaysInYear','ListContains','StructKeyList','DE','ListContainsNoCase',
225 'StructNew','DecimalFormat','ListDeleteAt','StructSort','DecrementValue','ListFind','StructUpdate','Decrypt','ListFindNoCase',
226 'Tan','DecryptBinary','ListFirst','TimeFormat','DeleteClientVariable','ListGetAt','ToBase64','DirectoryExists',
227 'ListInsertAt','ToBinary','DollarFormat','ListLast','ToScript','Duplicate','ListLen','ToString','Encrypt','ListPrepend',
228 'Trim','EncryptBinary','ListQualify','UCase','Evaluate','ListRest','URLDecode','Exp','ListSetAt','URLEncodedFormat',
229 'ExpandPath','ListSort','URLSessionFormat','FileExists','ListToArray','Val','Find','ListValueCount','ValueList',
230 'FindNoCase','ListValueCountNoCase','Week','FindOneOf','LJustify','Wrap','FirstDayOfMonth','Log','WriteOutput',
231 'Fix','Log10','XmlChildPos','FormatBaseN','LSCurrencyFormat','XmlElemNew','GetAuthUser','LSDateFormat','XmlFormat',
232 'GetBaseTagData','LSEuroCurrencyFormat','XmlGetNodeType','GetBaseTagList','LSIsCurrency','XmlNew','GetBaseTemplatePath',
233 'LSIsDate','XmlParse','GetClientVariablesList','LSIsNumeric','XmlSearch','GetCurrentTemplatePath','LSNumberFormat',
234 'XmlTransform','GetDirectoryFromPath','LSParseCurrency','XmlValidate','GetEncoding','LSParseDateTime','Year',
235 'GetException','LSParseEuroCurrency','YesNoFormat','GetFileFromPath','LSParseNumber'
239 '=','&','name','dbtype','connectstring','datasource','username','password','query','delimeter','description','required','hint','default','access','from','to','list','index'
243 '/', '=', 'EQ', 'GT', 'LT', 'GTE', 'LTE', 'IS', 'LIKE', '&', '{', '}', '(', ')', '[', ']','gt','lt'
245 'CASE_SENSITIVE' => array(
246 GESHI_COMMENTS
=> false
,
256 1 => 'color: #990000;',
257 2 => 'color: #000000; font-weight: bold;',
258 3 => 'color: #0000FF;',
259 4 => 'color: #000000; font-weight: bold;',
260 5 => 'color: #0000FF;',
261 6 => 'color: #0000FF'
264 1 => 'color: #808080; font-style: italic;',
265 'MULTI' => 'color: #808080; font-style: italic; background-color:#FFFF99;'
267 'ESCAPE_CHAR' => array(
268 0 => 'color: #000099; font-weight: bold;'
271 0 => 'color: #0000FF;'
274 0 => 'color: #009900;'
277 0 => 'color: #FF0000;'
282 0 => 'color: #0000FF;'
285 0 => 'color: #00bbdd;',
286 1 => 'color: #0000FF;',
287 2 => 'color: #000099;',
288 3 => 'color: #333333;'
300 'OBJECT_SPLITTERS' => array(
304 'STRICT_MODE_APPLIES' => GESHI_ALWAYS
,
305 'SCRIPT_DELIMITERS' => array(
313 '<cfscript>' => '</cfscript>;'
319 'HIGHLIGHT_STRICT_BLOCK' => array(