51 'COMMENT_SINGLE' =>
array(1 =>
'//', 2 =>
'#'),
52 'COMMENT_MULTI' =>
array(
'/*' =>
'*/'),
53 'COMMENT_REGEXP' =>
array(
56 3 =>
'/(?:(?<=using[\\n\\s])|(?<=namespace[\\n\\s]))[\\n\\s]*([a-zA-Z0-9_]+\\.)*[a-zA-Z0-9_]+[\n\s]*(?=[;=])/i'),
58 'QUOTEMARKS' =>
array(
"'",
'"'),
59 'HARDQUOTE' =>
array(
'@"',
'"'),
60 'HARDESCAPE' =>
array(
'"'),
62 'ESCAPE_CHAR' =>
'\\',
65 'abstract',
'add',
'as',
'base',
'break',
'by',
'case',
'catch',
'const',
'continue',
66 'default',
'do',
'else',
'event',
'explicit',
'extern',
'false',
67 'finally',
'fixed',
'for',
'foreach',
'from',
'get',
'goto',
'group',
'if',
68 'implicit',
'in',
'into',
'internal',
'join',
'lock',
'namespace',
'null',
69 'operator',
'out',
'override',
'params',
'partial',
'private',
70 'protected',
'public',
'readonly',
'remove',
'ref',
'return',
'sealed',
71 'select',
'set',
'stackalloc',
'static',
'switch',
'this',
'throw',
'true',
72 'try',
'unsafe',
'using',
'var',
'value',
'virtual',
'volatile',
'where',
76 '#elif',
'#endif',
'#endregion',
'#else',
'#error',
'#define',
'#if',
77 '#line',
'#region',
'#undef',
'#warning' 80 'checked',
'is',
'new',
'sizeof',
'typeof',
'unchecked' 83 'bool',
'byte',
'char',
'class',
'decimal',
'delegate',
'double',
84 'dynamic',
'enum',
'float',
'int',
'interface',
'long',
'object',
'sbyte',
85 'short',
'string',
'struct',
'uint',
'ulong',
'ushort',
'void' 91 'System.CodeDOM.Compiler',
93 'System.Collections.Bases',
94 'System.ComponentModel',
95 'System.ComponentModel.Design',
96 'System.ComponentModel.Design.CodeModel',
97 'System.Configuration',
98 'System.Configuration.Assemblies',
99 'System.Configuration.Core',
100 'System.Configuration.Install',
101 'System.Configuration.Interceptors',
102 'System.Configuration.Schema',
103 'System.Configuration.Web',
107 'System.Data.Design',
108 'System.Data.Internal',
110 'System.Data.SQLTypes',
112 'System.Data.XML.DOM',
113 'System.Data.XML.XPath',
114 'System.Data.XML.XSLT',
115 'System.Diagnostics',
116 'System.Diagnostics.SymbolStore',
117 'System.DirectoryServices',
119 'System.Drawing.Design',
120 'System.Drawing.Drawing2D',
121 'System.Drawing.Imaging',
122 'System.Drawing.Printing',
123 'System.Drawing.Text',
124 'System.Globalization',
126 'System.IO.IsolatedStorage',
129 'System.Net.Sockets',
131 'System.NewXml.XPath',
134 'System.Reflection.Emit',
136 'System.Runtime.InteropServices',
137 'System.Runtime.InteropServices.Expando',
138 'System.Runtime.Remoting',
139 'System.Runtime.Serialization',
140 'System.Runtime.Serialization.Formatters',
141 'System.Runtime.Serialization.Formatters.Binary',
143 'System.Security.Cryptography',
144 'System.Security.Cryptography.X509Certificates',
145 'System.Security.Permissions',
146 'System.Security.Policy',
147 'System.Security.Principal',
148 'System.ServiceProcess',
150 'System.Text.RegularExpressions',
154 'System.Web.Caching',
155 'System.Web.Configuration',
156 'System.Web.Security',
157 'System.Web.Services',
158 'System.Web.Services.Description',
159 'System.Web.Services.Discovery',
160 'System.Web.Services.Protocols',
162 'System.Web.UI.Design',
163 'System.Web.UI.Design.WebControls',
164 'System.Web.UI.Design.WebControls.ListControls',
165 'System.Web.UI.HtmlControls',
166 'System.Web.UI.WebControls',
168 'System.WinForms.ComponentModel',
169 'System.WinForms.Design',
171 'System.Xml.Serialization',
172 'System.Xml.Serialization.Code',
173 'System.Xml.Serialization.Schema' 177 '+',
'-',
'*',
'?',
'=',
'/',
'%',
'&',
'>',
'<',
'^',
'!',
':',
';',
178 '(',
')',
'{',
'}',
'[',
']',
'|',
'.' 180 'CASE_SENSITIVE' =>
array(
190 1 =>
'color: #0600FF; font-weight: bold;',
191 2 =>
'color: #FF8000; font-weight: bold;',
192 3 =>
'color: #008000;',
193 4 =>
'color: #6666cc; font-weight: bold;',
194 5 =>
'color: #000000;' 197 1 =>
'color: #008080; font-style: italic;',
198 2 =>
'color: #008080;',
199 3 =>
'color: #008080;',
200 'MULTI' =>
'color: #008080; font-style: italic;' 202 'ESCAPE_CHAR' =>
array(
203 0 =>
'color: #008080; font-weight: bold;',
204 'HARD' =>
'color: #008080; font-weight: bold;' 207 0 =>
'color: #008000;' 210 0 =>
'color: #666666;',
211 'HARD' =>
'color: #666666;' 214 0 =>
'color: #FF0000;' 217 1 =>
'color: #0000FF;',
218 2 =>
'color: #0000FF;' 221 0 =>
'color: #008000;' 231 3 =>
'http://www.google.com/search?q={FNAMEL}+msdn.microsoft.com',
236 'OBJECT_SPLITTERS' =>
array(
243 'SCRIPT_DELIMITERS' =>
array(
245 'HIGHLIGHT_STRICT_BLOCK' =>
array(
248 'PARSER_CONTROL' =>
array(
250 'DISALLOWED_BEFORE' =>
"(?<![a-zA-Z0-9\$_\|\#>|^])",
251 'DISALLOWED_AFTER' =>
"(?![a-zA-Z0-9_%\\-])" const GESHI_COMMENTS
Used in language files to mark comments.
Create styles array
The data for the language used.
const GESHI_NEVER
#+ private
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.