36 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
36 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
37 * |
37 * |
38 ************************************************************************************/ |
38 ************************************************************************************/ |
39 |
39 |
40 $language_data = array ( |
40 $language_data = array ( |
41 'LANG_NAME' => 'ColdFusion', |
41 'LANG_NAME' => 'ColdFusion', |
42 'COMMENT_SINGLE' => array(1 => '//'), |
42 'COMMENT_SINGLE' => array(1 => '//'), |
43 'COMMENT_MULTI' => array('<!--' => '-->','<!---' => '--->', '/*' => '*/'), |
43 'COMMENT_MULTI' => array('/*' => '*/'), |
44 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
44 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
45 'QUOTEMARKS' => array("'", '"'), |
45 'QUOTEMARKS' => array("'", '"'), |
46 'ESCAPE_CHAR' => '\\', |
46 'ESCAPE_CHAR' => '\\', |
47 'KEYWORDS' => array( |
47 'KEYWORDS' => array( |
48 /* CFM Tags */ |
48 /* CFM Tags */ |
49 1 => array( |
49 1 => array( |
50 '<cfabort', '<cfapplet', '<cfapplication', '<cfargument', '<cfassociate', '<<cfbreak>', |
50 'cfabort', 'cfapplet', 'cfapplication', 'cfargument', 'cfassociate', |
51 '<cfcache', '<cfcase', '<cfcatch', '</cfcatch>', '<cfchart', '</cfchart>', '<cfchartdata', |
51 'cfbreak', 'cfcache', 'cfcase', 'cfcatch', 'cfchart', 'cfchartdata', |
52 '<cfchartseries', '</cfchartseries>', '<cfcol', '<cfcollection', '<cfcomponent', '</cfcomponent>', |
52 'cfchartseries', 'cfcol', 'cfcollection', 'cfcomponent', |
53 '<cfcontent', '<cfcookie', '</cfdefaultcase>', '<cfdirectory', '<cfdocument', '</cfdocument>', |
53 'cfcontent', 'cfcookie', 'cfdefaultcase', 'cfdirectory', |
54 '<cfdocumentitem', '</cfdocumentitem>', '<cfdocumentsection', '</cfdocumentsection>', '<cfdump', |
54 'cfdocument', 'cfdocumentitem', 'cfdocumentsection', 'cfdump', |
55 '<cfelse', '<cfelseif', '<cferror', '<cfexecute', '</cfexecute>', '<cfexit', '<cffile', |
55 'cfelse', 'cfelseif', 'cferror', 'cfexecute', 'cfexit', 'cffile', |
56 '<cfflush', '<cfform', '</cfform>', '<cfformgroup', '</cfformgroup', '<cfformitem', |
56 'cfflush', 'cfform', 'cfformgroup', 'cfformitem', 'cfftp', |
57 '</cfformitem>', '<cfftp', '<cffunction', '</cffunction>', '<cfgrid', '</cfgrid>', |
57 'cffunction', 'cfgrid', 'cfgridcolumn', 'cfgridrow', 'cfgridupdate', |
58 '<cfgridcolumn', '<cfgridrow', '<cfgridupdate', '<cfheader', '<cfhtmlhead', '<cfhttp', |
58 'cfheader', 'cfhtmlhead', 'cfhttp', 'cfhttpparam', 'cfif', |
59 '</cfhttp>', '<cfhttpparam', '<cfif', '</cfif>', '<cfimport', '<cfinclude', '<cfindex', |
59 'cfimport', 'cfinclude', 'cfindex', 'cfinput', 'cfinsert', |
60 '<cfinput', '<cfinsert', '<cfinvoke', '<cfinvokeargument', '<cfldap', '<cflocation', '<cflock', |
60 'cfinvoke', 'cfinvokeargument', 'cfldap', 'cflocation', 'cflock', |
61 '</cflock>', '<cflog', '<cflogin', '</cflogin>', '<cfloginuser', '<cflogout', '<cfloop', |
61 'cflog', 'cflogin', 'cfloginuser', 'cflogout', 'cfloop', 'cfmail', |
62 '</cfloop>', '<cfmail', '</cfmail>', '<cfmailparam', '<cfmailpart', '</cfmailpart>', |
62 'cfmailparam', 'cfmailpart', 'cfmodule', 'cfNTauthenticate', |
63 '<cfmodule', '<cfNTauthenticate', '<cfobject', '<cfobjectcache', '<cfoutput>', '<cfoutput', '</cfoutput>', |
63 'cfobject', 'cfobjectcache', 'cfoutput', 'cfparam', 'cfpop', |
64 '<cfparam', '<cfpop', '<cfprocessingdirective', '</cfprocessingdirective>', '<cfprocparam', |
64 'cfprocessingdirective', 'cfprocparam', |
65 '<cfprocresult', '<cfproperty', '<cfquery', '</cfquery>', '<cfqueryparam', '<cfregistry', |
65 'cfprocresult', 'cfproperty', 'cfquery', 'cfqueryparam', |
66 '</cfregistry>', '<cfreport', '</cfreport>', '<cfreportparam', '</cfreportparam>', |
66 'cfregistry', 'cfreport', 'cfreportparam', 'cfrethrow', 'cfreturn', |
67 '<cfrethrow', '<cfreturn', '<cfsavecontent', '</cfsavecontent>', '<cfschedule', '<cfscript', '<cfscript>', |
67 'cfsavecontent', 'cfschedule', 'cfscript', 'cfsearch', 'cfselect', |
68 '</cfscript>', '<cfsearch', '<cfselect', '</cfselect>', '<cfset', '<cfsetting', '<cfsilent', |
68 'cfset', 'cfsetting', 'cfsilent', 'cfstoredproc', |
69 '</cfsilent>', '<cfstoredproc', '</cfstoredproc>', '<cfswitch', '</cfswitch>', '<cftable', |
69 'cfswitch', 'cftable', 'cftextarea', 'cfthrow', 'cftimer', |
70 '</cftable>', '<cftextarea', '</cftextarea>', '<cfthrow', '<cftimer', '</cftimer>', |
70 'cftrace', 'cftransaction', 'cftree', 'cftreeitem', 'cftry', |
71 '<cftrace', '</cftrace>', '<cftransaction', '</cftransaction>', '<cftree', '</cftree>', |
71 'cfupdate', 'cfwddx' |
72 '<cftreeitem', '<cftry', '</cftry>', '<cfupdate', '<cfwddx','<','>' |
72 ), |
73 ), |
73 /* HTML Tags */ |
74 /* HTML Tags */ |
74 2 => array( |
75 2 => array( |
75 'a', 'abbr', 'acronym', 'address', 'applet', |
76 '<a>', '<abbr>', '<acronym>', '<address>', '<applet>', |
76 |
77 '<a', '<abbr', '<acronym', '<address', '<applet', |
77 'base', 'basefont', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'b', |
78 '</a>', '</abbr>', '</acronym>', '</address>', '</applet>', |
78 |
79 '</a', '</abbr', '</acronym', '</address', '</applet', |
79 'caption', 'center', 'cite', 'code', 'colgroup', 'col', |
80 |
80 |
81 '<base>', '<basefont>', '<bdo>', '<big>', '<blockquote>', '<body>', '<br>', '<button>', '<b>', |
81 'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt', |
82 '<base', '<basefont', '<bdo', '<big', '<blockquote', '<body', '<br', '<button', '<b', |
82 |
83 '</base>', '</basefont>', '</bdo>', '</big>', '</blockquote>', '</body>', '</br>', '</button>', '</b>', |
83 'em', |
84 '</base', '</basefont', '</bdo', '</big', '</blockquote', '</body', '</br','<br />', '</button', '</b', |
84 |
85 |
85 'fieldset', 'font', 'form', 'frame', 'frameset', |
86 '<caption>', '<center>', '<cite>', '<code>', '<colgroup>', '<col>', |
86 |
87 '<caption', '<center', '<cite', '<code', '<colgroup', '<col', |
87 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'hr', 'html', |
88 '</caption>', '</center>', '</cite>', '</code>', '</colgroup>', '</col>', |
88 |
89 '</caption', '</center', '</cite', '</code', '</colgroup', '</col', |
89 'iframe', 'ilayer', 'img', 'input', 'ins', 'isindex', 'i', |
90 |
90 |
91 '<dd>', '<del>', '<dfn>', '<dir>', '<div>', '<dl>', '<dt>', |
91 'kbd', |
92 '<dd', '<del', '<dfn', '<dir', '<div', '<dl', '<dt', |
92 |
93 '</dd>', '</del>', '</dfn>', '</dir>', '</div>', '</dl>', '</dt>', |
93 'label', 'legend', 'link', 'li', |
94 '</dd', '</del', '</dfn', '</dir', '</div', '</dl', '</dt', |
94 |
95 |
95 'map', 'meta', |
96 '<em>', |
96 |
97 '<em', |
97 'noframes', 'noscript', |
98 '</em>', |
98 |
99 '</em', |
99 'object', 'ol', 'optgroup', 'option', |
100 |
100 |
101 '<fieldset>', '<font>', '<form>', '<frame>', '<frameset>', |
101 'param', 'pre', 'p', |
102 '<fieldset', '<font', '<form', '<frame', '<frameset', |
102 |
103 '</fieldset>', '</font>', '</form>', '</frame>', '</frameset>', |
103 'q', |
104 '</fieldset', '</font', '</form', '</frame', '</frameset', |
104 |
105 |
105 'samp', 'script', 'select', 'small', 'span', 'strike', 'strong', 'style', 'sub', 'sup', 's', |
106 '<h1>', '<h2>', '<h3>', '<h4>', '<h5>', '<h6>', '<head>', '<hr>', '<html>', |
106 |
107 '<h1', '<h2', '<h3', '<h4', '<h5', '<h6', '<head', '<hr', '<html', |
107 'table', 'tbody', 'td', 'textarea', 'text', 'tfoot', 'thead', 'th', 'title', 'tr', 'tt', |
108 '</h1>', '</h2>', '</h3>', '</h4>', '</h5>', '</h6>', '</head>', '</hr>', '</html>', |
108 |
109 '</h1', '</h2', '</h3', '</h4', '</h5', '</h6', '</head', '</hr', '</html', |
109 'ul', 'u', |
110 |
110 |
111 '<iframe>', '<ilayer>', '<img>', '<input>', '<ins>', '<isindex>', '<i>', |
111 'var', |
112 '<iframe', '<ilayer', '<img', '<input', '<ins', '<isindex', '<i', |
112 ), |
113 '</iframe>', '</ilayer>', '</img>', '</input>', '</ins>', '</isindex>', '</i>', |
113 /* HTML attributes */ |
114 '</iframe', '</ilayer', '</img', '</input', '</ins', '</isindex', '</i', |
114 3 => array( |
115 |
115 'abbr', 'accept-charset', 'accept', 'accesskey', 'action', 'align', 'alink', 'alt', 'archive', 'axis', |
116 '<kbd>', |
116 'background', 'bgcolor', 'border', |
117 '<kbd', |
117 'cellpadding', 'cellspacing', 'char', 'charoff', 'charset', 'checked', 'cite', 'class', 'classid', 'clear', 'code', 'codebase', 'codetype', 'color', 'cols', 'colspan', 'compact', 'content', 'coords', |
118 '&t;/kbd>', |
118 'data', 'datetime', 'declare', 'defer', 'dir', 'disabled', |
119 '</kbd', |
119 'enctype', |
120 |
120 'face', 'for', 'frame', 'frameborder', |
121 '<label>', '<legend>', '<link>', '<li>', |
121 'headers', 'height', 'href', 'hreflang', 'hspace', 'http-equiv', |
122 '<label', '<legend', '<link', '<li', |
122 'id', 'ismap', |
123 '</label>', '</legend>', '</link>', '</li>', |
123 'label', 'lang', 'language', 'link', 'longdesc', |
124 '</label', '</legend', '</link', '</li', |
124 'marginheight', 'marginwidth', 'maxlength', 'media', 'method', 'multiple', |
125 |
125 'name', 'nohref', 'noresize', 'noshade', 'nowrap', |
126 '<map>', '<meta>', |
126 'object', 'onblur', 'onchange', 'onclick', 'ondblclick', 'onfocus', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onreset', 'onselect', 'onsubmit', 'onunload', |
127 '<map', '<meta', |
127 'profile', 'prompt', |
128 '</map>', '</meta>', |
128 'readonly', 'rel', 'rev', 'rowspan', 'rows', 'rules', |
129 '</map', '</meta', |
129 'scheme', 'scope', 'scrolling', 'selected', 'shape', 'size', 'span', 'src', 'standby', 'start', 'style', 'summary', |
130 |
130 'tabindex', 'target', 'text', 'title', 'type', |
131 '<noframes>', '<noscript>', |
131 'usemap', |
132 '<noframes', '<noscript', |
132 'valign', 'value', 'valuetype', 'version', 'vlink', 'vspace', |
133 '</noframes>', '</noscript>', |
133 'width' |
134 '</noframes', '</noscript', |
134 ), |
135 |
135 /* CFM Script delimeters */ |
136 '<object>', '<ol>', '<optgroup>', '<option>', |
136 4 => array( |
137 '<object', '<ol', '<optgroup', '<option', |
137 'var', 'function', 'while', 'if','else' |
138 '</object>', '</ol>', '</optgroup>', '</option>', |
138 ), |
139 '</object', '</ol', '</optgroup', '</option', |
139 /* CFM Functions */ |
140 |
140 5 => array( |
141 '<param>', '<pre>', '<p>', |
141 'Abs', 'GetFunctionList', 'LSTimeFormat','ACos','GetGatewayHelper','LTrim','AddSOAPRequestHeader','GetHttpRequestData', |
142 '<param', '<pre', '<p', |
142 'Max','AddSOAPResponseHeader','GetHttpTimeString','Mid','ArrayAppend','GetLocale','Min','ArrayAvg','GetLocaleDisplayName', |
143 '</param>', '</pre>', '</p>', |
143 'Minute','ArrayClear','GetMetaData','Month','ArrayDeleteAt','GetMetricData','MonthAsString','ArrayInsertAt','GetPageContext', |
144 '</param', '</pre', '</p', |
144 'Now','ArrayIsEmpty','GetProfileSections','NumberFormat','ArrayLen','GetProfileString','ParagraphFormat','ArrayMax', |
145 |
145 'GetLocalHostIP','ParseDateTime','ArrayMin','GetSOAPRequest','Pi','ArrayNew','GetSOAPRequestHeader','PreserveSingleQuotes', |
146 '<q>', |
146 'ArrayPrepend','GetSOAPResponse','Quarter','ArrayResize','GetSOAPResponseHeader','QueryAddColumn','ArraySet', |
147 '<q', |
147 'GetTempDirectory','QueryAddRow','ArraySort','QueryNew','ArraySum','GetTempFile','QuerySetCell', |
148 '</q>', |
148 'ArraySwap','GetTickCount','QuotedValueList','ArrayToList','GetTimeZoneInfo','Rand','Asc','GetToken','Randomize', |
149 '</q', |
149 'ASin','Hash','RandRange','Atn','Hour','REFind','BinaryDecode','HTMLCodeFormat','REFindNoCase','BinaryEncode', |
150 |
150 'HTMLEditFormat','ReleaseComObject','BitAnd','IIf','RemoveChars','BitMaskClear','IncrementValue','RepeatString', |
151 '<samp>', '<script>', '<select>', '<small>', '<span>', '<strike>', '<strong>', '<style>', '<sub>', '<sup>', '<s>', |
151 'BitMaskRead','InputBaseN','Replace','BitMaskSet','Insert','ReplaceList','BitNot','Int','ReplaceNoCase','BitOr', |
152 '<samp', '<script', '<select', '<small', '<span', '<strike', '<strong', '<style', '<sub', '<sup', '<s', |
152 'IsArray','REReplace','BitSHLN','IsBinary','REReplaceNoCase','BitSHRN','IsBoolean','Reverse','BitXor','IsCustomFunction', |
153 '</samp>', '</script>', '</select>', '</small>', '</span>', '</strike>', '</strong>', '</style>', '</sub>', '</sup>', '</s>', |
153 'Right','Ceiling','IsDate','RJustify','CharsetDecode','IsDebugMode','Round','CharsetEncode','IsDefined','RTrim', |
154 '</samp', '</script', '</select', '</small', '</span', '</strike', '</strong', '</style', '</sub', '</sup', '</s', |
154 'Chr','IsLeapYear','Second','CJustify','IsLocalHost','SendGatewayMessage','Compare','IsNumeric','SetEncoding', |
155 |
155 'CompareNoCase','IsNumericDate','SetLocale','Cos','IsObject','SetProfileString','CreateDate','IsQuery','SetVariable', |
156 '<table>', '<tbody>', '<td>', '<textarea>', '<text>', '<tfoot>', '<thead>', '<th>', '<title>', '<tr>', '<tt>', |
156 'CreateDateTime','IsSimpleValue','Sgn','CreateObject','IsSOAPRequest','Sin','CreateODBCDate','IsStruct','SpanExcluding', |
157 '<table', '<tbody', '<td', '<textarea', '<text', '<tfoot', '<tfoot', '<thead', '<th', '<title', '<tr', '<tt', |
157 'CreateODBCDateTime','IsUserInRole','SpanIncluding','CreateODBCTime','IsValid','Sqr','CreateTime','IsWDDX','StripCR', |
158 '</table>', '</tbody>', '</td>', '</textarea>', '</text>', '</tfoot>', '</thead', '</tfoot', '</th>', '</title>', '</tr>', '</tt>', |
158 'CreateTimeSpan','IsXML','StructAppend','CreateUUID','IsXmlAttribute','StructClear','DateAdd','IsXmlDoc','StructCopy', |
159 '</table', '</tbody', '</td', '</textarea', '</text', '</tfoot', '</tfoot', '</thead', '</th', '</title', '</tr', '</tt', |
159 'DateCompare','IsXmlElem','StructCount','DateConvert','IsXmlNode','StructDelete','DateDiff','IsXmlRoot','StructFind', |
160 |
160 'DateFormat','JavaCast','StructFindKey','DatePart','JSStringFormat','StructFindValue','Day','LCase','StructGet', |
161 '<ul>', '<u>', |
161 'DayOfWeek','Left','StructInsert','DayOfWeekAsString','Len','StructIsEmpty','DayOfYear','ListAppend','StructKeyArray', |
162 '<ul', '<u', |
162 'DaysInMonth','ListChangeDelims','StructKeyExists','DaysInYear','ListContains','StructKeyList','DE','ListContainsNoCase', |
163 '</ul>', '</ul>', |
163 'StructNew','DecimalFormat','ListDeleteAt','StructSort','DecrementValue','ListFind','StructUpdate','Decrypt','ListFindNoCase', |
164 '</ul', '</u', |
164 'Tan','DecryptBinary','ListFirst','TimeFormat','DeleteClientVariable','ListGetAt','ToBase64','DirectoryExists', |
165 |
165 'ListInsertAt','ToBinary','DollarFormat','ListLast','ToScript','Duplicate','ListLen','ToString','Encrypt','ListPrepend', |
166 '<var>', |
166 'Trim','EncryptBinary','ListQualify','UCase','Evaluate','ListRest','URLDecode','Exp','ListSetAt','URLEncodedFormat', |
167 '<var', |
167 'ExpandPath','ListSort','URLSessionFormat','FileExists','ListToArray','Val','Find','ListValueCount','ValueList', |
168 '</var>', |
168 'FindNoCase','ListValueCountNoCase','Week','FindOneOf','LJustify','Wrap','FirstDayOfMonth','Log','WriteOutput', |
169 '</var', |
169 'Fix','Log10','XmlChildPos','FormatBaseN','LSCurrencyFormat','XmlElemNew','GetAuthUser','LSDateFormat','XmlFormat', |
170 |
170 'GetBaseTagData','LSEuroCurrencyFormat','XmlGetNodeType','GetBaseTagList','LSIsCurrency','XmlNew','GetBaseTemplatePath', |
171 '>', '<' |
171 'LSIsDate','XmlParse','GetClientVariablesList','LSIsNumeric','XmlSearch','GetCurrentTemplatePath','LSNumberFormat', |
172 ), |
172 'XmlTransform','GetDirectoryFromPath','LSParseCurrency','XmlValidate','GetEncoding','LSParseDateTime','Year', |
173 /* HTML attributes */ |
173 'GetException','LSParseEuroCurrency','YesNoFormat','GetFileFromPath','LSParseNumber' |
174 3 => array( |
174 ), |
175 'abbr', 'accept-charset', 'accept', 'accesskey', 'action', 'align', 'alink', 'alt', 'archive', 'axis', |
175 /* CFM Attributes */ |
176 'background', 'bgcolor', 'border', |
176 6 => array( |
177 'cellpadding', 'cellspacing', 'char', 'char', 'charoff', 'charset', 'checked', 'cite', 'class', 'classid', 'clear', 'code', 'codebase', 'codetype', 'color', 'cols', 'colspan', 'compact', 'content', 'coords', |
177 'dbtype','connectstring','datasource','username','password','query','delimeter','description','required','hint','default','access','from','to','list','index' |
178 'data', 'datetime', 'declare', 'defer', 'dir', 'disabled', |
178 ), |
179 'enctype', |
179 7 => array( |
180 'face', 'for', 'frame', 'frameborder', |
180 'EQ', 'GT', 'LT', 'GTE', 'LTE', 'IS', 'LIKE', 'NEQ' |
181 'headers', 'height', 'href', 'hreflang', 'hspace', 'http-equiv', |
181 ) |
182 'id', 'ismap', |
182 ), |
183 'label', 'lang', 'language', 'link', 'longdesc', |
183 'SYMBOLS' => array( |
184 'marginheight', 'marginwidth', 'maxlength', 'media', 'method', 'multiple', |
184 '/', '=', '{', '}', '(', ')', '[', ']', '<', '>', '&' |
185 'name', 'nohref', 'noresize', 'noshade', 'nowrap', |
185 ), |
186 'object', 'onblur', 'onchange', 'onclick', 'ondblclick', 'onfocus', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onreset', 'onselect', 'onsubmit', 'onunload', |
186 'CASE_SENSITIVE' => array( |
187 'profile', 'prompt', |
187 GESHI_COMMENTS => false, |
188 'readonly', 'rel', 'rev', 'rowspan', 'rows', 'rules', |
188 1 => false, |
189 'scheme', 'scope', 'scrolling', 'selected', 'shape', 'size', 'span', 'src', 'standby', 'start', 'style', 'summary', |
189 2 => false, |
190 'tabindex', 'target', 'text', 'title', 'type', |
190 3 => false, |
191 'usemap', |
191 4 => false, |
192 'valign', 'value', 'valuetype', 'version', 'vlink', 'vspace', |
|
193 'width' |
|
194 ), |
|
195 /* CFM Script delimeters */ |
|
196 4 => array( |
|
197 'var', 'function', 'while', 'if','else' |
|
198 ), |
|
199 /* CFM Functions */ |
|
200 5 => array( |
|
201 'Abs', 'GetFunctionList', 'LSTimeFormat','ACos','GetGatewayHelper','LTrim','AddSOAPRequestHeader','GetHttpRequestData', |
|
202 'Max','AddSOAPResponseHeader','GetHttpTimeString','Mid','ArrayAppend','GetLocale','Min','ArrayAvg','GetLocaleDisplayName', |
|
203 'Minute','ArrayClear','GetMetaData','Month','ArrayDeleteAt','GetMetricData','MonthAsString','ArrayInsertAt','GetPageContext', |
|
204 'Now','ArrayIsEmpty','GetProfileSections','NumberFormat','ArrayLen','GetProfileString','ParagraphFormat','ArrayMax', |
|
205 'GetLocalHostIP','ParseDateTime','ArrayMin','GetSOAPRequest','Pi','ArrayNew','GetSOAPRequestHeader','PreserveSingleQuotes', |
|
206 'ArrayPrepend','GetSOAPResponse','Quarter','ArrayResize','GetSOAPResponseHeader','QueryAddColumn','ArraySet', |
|
207 'GetTempDirectory','QueryAddRow','ArraySort','GetTempDirectory','QueryNew','ArraySum','GetTempFile','QuerySetCell', |
|
208 'ArraySwap','GetTickCount','QuotedValueList','ArrayToList','GetTimeZoneInfo','Rand','Asc','GetToken','Randomize', |
|
209 'ASin','Hash','RandRange','Atn','Hour','REFind','BinaryDecode','HTMLCodeFormat','REFindNoCase','BinaryEncode', |
|
210 'HTMLEditFormat','ReleaseComObject','BitAnd','IIf','RemoveChars','BitMaskClear','IncrementValue','RepeatString', |
|
211 'BitMaskRead','InputBaseN','Replace','BitMaskSet','Insert','ReplaceList','BitNot','Int','ReplaceNoCase','BitOr', |
|
212 'IsArray','REReplace','BitSHLN','IsBinary','REReplaceNoCase','BitSHRN','IsBoolean','Reverse','BitXor','IsCustomFunction', |
|
213 'Right','Ceiling','IsDate','RJustify','CharsetDecode','IsDebugMode','Round','CharsetEncode','IsDefined','RTrim', |
|
214 'Chr','IsLeapYear','Second','CJustify','IsLocalHost','SendGatewayMessage','Compare','IsNumeric','SetEncoding', |
|
215 'CompareNoCase','IsNumericDate','SetLocale','Cos','IsObject','SetProfileString','CreateDate','IsQuery','SetVariable', |
|
216 'CreateDateTime','IsSimpleValue','Sgn','CreateObject','IsSOAPRequest','Sin','CreateODBCDate','IsStruct','SpanExcluding', |
|
217 'CreateODBCDateTime','IsUserInRole','SpanIncluding','CreateODBCTime','IsValid','Sqr','CreateTime','IsWDDX','StripCR', |
|
218 'CreateTimeSpan','IsXML','StructAppend','CreateUUID','IsXmlAttribute','StructClear','DateAdd','IsXmlDoc','StructCopy', |
|
219 'DateCompare','IsXmlElem','StructCount','DateConvert','IsXmlNode','StructDelete','DateDiff','IsXmlRoot','StructFind', |
|
220 'DateFormat','JavaCast','StructFindKey','DatePart','JSStringFormat','StructFindValue','Day','LCase','StructGet', |
|
221 'DayOfWeek','Left','StructInsert','DayOfWeekAsString','Len','StructIsEmpty','DayOfYear','ListAppend','StructKeyArray', |
|
222 'DaysInMonth','ListChangeDelims','StructKeyExists','DaysInYear','ListContains','StructKeyList','DE','ListContainsNoCase', |
|
223 'StructNew','DecimalFormat','ListDeleteAt','StructSort','DecrementValue','ListFind','StructUpdate','Decrypt','ListFindNoCase', |
|
224 'Tan','DecryptBinary','ListFirst','TimeFormat','DeleteClientVariable','ListGetAt','ToBase64','DirectoryExists', |
|
225 'ListInsertAt','ToBinary','DollarFormat','ListLast','ToScript','Duplicate','ListLen','ToString','Encrypt','ListPrepend', |
|
226 'Trim','EncryptBinary','ListQualify','UCase','Evaluate','ListRest','URLDecode','Exp','ListSetAt','URLEncodedFormat', |
|
227 'ExpandPath','ListSort','URLSessionFormat','FileExists','ListToArray','Val','Find','ListValueCount','ValueList', |
|
228 'FindNoCase','ListValueCountNoCase','Week','FindOneOf','LJustify','Wrap','FirstDayOfMonth','Log','WriteOutput', |
|
229 'Fix','Log10','XmlChildPos','FormatBaseN','LSCurrencyFormat','XmlElemNew','GetAuthUser','LSDateFormat','XmlFormat', |
|
230 'GetBaseTagData','LSEuroCurrencyFormat','XmlGetNodeType','GetBaseTagList','LSIsCurrency','XmlNew','GetBaseTemplatePath', |
|
231 'LSIsDate','XmlParse','GetClientVariablesList','LSIsNumeric','XmlSearch','GetCurrentTemplatePath','LSNumberFormat', |
|
232 'XmlTransform','GetDirectoryFromPath','LSParseCurrency','XmlValidate','GetEncoding','LSParseDateTime','Year', |
|
233 'GetException','LSParseEuroCurrency','YesNoFormat','GetFileFromPath','LSParseNumber' |
|
234 ), |
|
235 /* CFM Attributes */ |
|
236 6 => array( |
|
237 '=','&','name','dbtype','connectstring','datasource','username','password','query','delimeter','description','required','hint','default','access','from','to','list','index' |
|
238 ) |
|
239 ), |
|
240 'SYMBOLS' => array( |
|
241 '/', '=', 'EQ', 'GT', 'LT', 'GTE', 'LTE', 'IS', 'LIKE', '&', '{', '}', '(', ')', '[', ']','gt','lt' |
|
242 ), |
|
243 'CASE_SENSITIVE' => array( |
|
244 GESHI_COMMENTS => false, |
|
245 1 => false, |
|
246 2 => false, |
|
247 3 => false, |
|
248 4 => false, |
|
249 5 => false, |
192 5 => false, |
250 6 => false |
193 6 => false, |
251 ), |
194 7 => false |
252 'STYLES' => array( |
195 ), |
253 'KEYWORDS' => array( |
196 'STYLES' => array( |
254 1 => 'color: #990000;', |
197 'KEYWORDS' => array( |
255 2 => 'color: #000000; font-weight: bold;', |
198 1 => 'color: #990000; font-weight: bold;', |
256 3 => 'color: #0000FF;', |
199 2 => 'color: #000000; font-weight: bold;', |
257 4 => 'color: #000000; font-weight: bold;', |
200 3 => 'color: #0000FF;', |
258 5 => 'color: #0000FF;', |
201 4 => 'color: #000000; font-weight: bold;', |
259 6 => 'color: #0000FF' |
202 5 => 'color: #0000FF;', |
260 ), |
203 6 => 'color: #0000FF;', |
261 'COMMENTS' => array( |
204 7 => 'color: #0000FF;' |
262 1 => 'color: #808080; font-style: italic;', |
205 ), |
263 'MULTI' => 'color: #808080; font-style: italic; background-color:#FFFF99;' |
206 'COMMENTS' => array( |
264 ), |
207 1 => 'color: #808080; font-style: italic;', |
265 'ESCAPE_CHAR' => array( |
208 'MULTI' => 'color: #808080; font-style: italic;' |
266 0 => 'color: #000099; font-weight: bold;' |
209 ), |
267 ), |
210 'ESCAPE_CHAR' => array( |
268 'BRACKETS' => array( |
211 0 => 'color: #000099; font-weight: bold;' |
269 0 => 'color: #0000FF;' |
212 ), |
270 ), |
213 'BRACKETS' => array( |
271 'STRINGS' => array( |
214 0 => 'color: #0000FF;' |
272 0 => 'color: #009900;' |
215 ), |
273 ), |
216 'STRINGS' => array( |
274 'NUMBERS' => array( |
217 0 => 'color: #009900;' |
275 0 => 'color: #FF0000;' |
218 ), |
276 ), |
219 'NUMBERS' => array( |
277 'METHODS' => array( |
220 0 => 'color: #FF0000;' |
278 ), |
221 ), |
279 'SYMBOLS' => array( |
222 'METHODS' => array( |
280 0 => 'color: #0000FF;' |
223 ), |
281 ), |
224 'SYMBOLS' => array( |
282 'SCRIPT' => array( |
225 0 => 'color: #0000FF;' |
283 0 => 'color: #00bbdd;', |
226 ), |
284 1 => 'color: #0000FF;', |
227 'SCRIPT' => array( |
285 2 => 'color: #000099;', |
228 0 => 'color: #808080; font-style: italic;', |
286 3 => 'color: #333333;' |
229 1 => 'color: #00bbdd;', |
287 ), |
230 2 => 'color: #0000FF;', |
288 'REGEXPS' => array( |
231 3 => 'color: #000099;', |
289 ) |
232 4 => 'color: #333333;', |
290 ), |
233 5 => 'color: #333333;' |
291 'URLS' => array( |
234 ), |
292 1 => '', |
235 'REGEXPS' => array( |
293 2 => '', |
236 ) |
294 3 => '', |
237 ), |
295 4 => '' |
238 'URLS' => array( |
296 ), |
239 1 => '', |
297 'OOLANG' => false, |
240 2 => 'http://december.com/html/4/element/{FNAMEL}.html', |
298 'OBJECT_SPLITTERS' => array( |
241 3 => '', |
299 ), |
242 4 => '', |
300 'REGEXPS' => array( |
243 5 => '', |
301 ), |
244 6 => '', |
302 'STRICT_MODE_APPLIES' => GESHI_ALWAYS, |
245 7 => '' |
303 'SCRIPT_DELIMITERS' => array( |
246 ), |
304 0 => array( |
247 'OOLANG' => false, |
305 '<!DOCTYPE' => '>' |
248 'OBJECT_SPLITTERS' => array( |
306 ), |
249 ), |
307 1 => array( |
250 'REGEXPS' => array( |
308 '#' => '#' |
251 ), |
309 ), |
252 'STRICT_MODE_APPLIES' => GESHI_ALWAYS, |
310 2 => array( |
253 'SCRIPT_DELIMITERS' => array( |
311 '<cfscript>' => '</cfscript>;' |
254 0 => array( |
312 ), |
255 '<!--' => '-->' |
313 3 => array( |
256 ), |
314 '<' => '>' |
257 1 => array( |
315 ) |
258 '<!DOCTYPE' => '>' |
316 ), |
259 ), |
317 'HIGHLIGHT_STRICT_BLOCK' => array( |
260 2 => "/(?!<#)(?:(?:##)*)(#)[a-zA-Z0-9_\.\(\)]+(#)/", |
318 0 => false, |
261 3 => array( |
319 1 => true, |
262 '<cfscript>' => '</cfscript>' |
320 2 => true, |
263 ), |
321 3 => true |
264 4 => array( |
322 ) |
265 '<' => '>' |
|
266 ), |
|
267 5 => '/((?!<!)<)(?:"[^"]*"|\'[^\']*\'|(?R)|[^">])+?(>)/si' |
|
268 ), |
|
269 'HIGHLIGHT_STRICT_BLOCK' => array( |
|
270 0 => false, |
|
271 1 => false, |
|
272 2 => true, |
|
273 3 => true, |
|
274 4 => true, |
|
275 5 => true |
|
276 ), |
|
277 'PARSER_CONTROL' => array( |
|
278 'KEYWORDS' => array( |
|
279 1 => array( |
|
280 'DISALLOWED_BEFORE' => '(?<=<|<\/)', |
|
281 'DISALLOWED_AFTER' => '(?=\s|\/|>)', |
|
282 ), |
|
283 2 => array( |
|
284 'DISALLOWED_BEFORE' => '(?<=<|<\/)', |
|
285 'DISALLOWED_AFTER' => '(?=\s|\/|>)', |
|
286 ), |
|
287 3 => array( |
|
288 'DISALLOWED_BEFORE' => '(?<![a-zA-Z0-9\$_\|\#>|^])', // allow ; before keywords |
|
289 'DISALLOWED_AFTER' => '(?![a-zA-Z0-9_\|%\\-])', // allow & after keywords |
|
290 ), |
|
291 7 => array( |
|
292 'DISALLOWED_BEFORE' => '(?<![a-zA-Z0-9\$_\|\#>&|^])', // allow ; before keywords |
|
293 'DISALLOWED_AFTER' => '(?![a-zA-Z0-9_\|%\\-])', // allow & after keywords |
|
294 ) |
|
295 ) |
|
296 ) |
323 ); |
297 ); |
324 |
298 |
325 ?> |
299 ?> |