| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 |
$language_data = array ( |
|---|
| 43 |
'LANG_NAME' => 'CSharp', |
|---|
| 44 |
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'), |
|---|
| 45 |
'COMMENT_MULTI' => array('/*' => '*/'), |
|---|
| 46 |
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
|---|
| 47 |
'QUOTEMARKS' => array("'", '"'), |
|---|
| 48 |
'ESCAPE_CHAR' => '\\', |
|---|
| 49 |
'KEYWORDS' => array( |
|---|
| 50 |
1 => array( |
|---|
| 51 |
'as', 'auto', 'base', 'break', 'case', 'catch', 'const', 'continue', |
|---|
| 52 |
'default', 'do', 'else', 'event', 'explicit', 'extern', 'false', |
|---|
| 53 |
'finally', 'fixed', 'for', 'foreach', 'goto', 'if', 'implicit', |
|---|
| 54 |
'in', 'internal', 'lock', 'namespace', 'null', 'operator', 'out', |
|---|
| 55 |
'override', 'params', 'private', 'protected', 'public', 'readonly', |
|---|
| 56 |
'ref', 'return', 'sealed', 'stackalloc', 'static', 'switch', 'this', |
|---|
| 57 |
'throw', 'true', 'try', 'unsafe', 'using', 'virtual', 'void', 'while' |
|---|
| 58 |
), |
|---|
| 59 |
2 => array( |
|---|
| 60 |
'#elif', '#endif', '#endregion', '#else', '#error', '#define', '#if', |
|---|
| 61 |
'#line', '#region', '#undef', '#warning' |
|---|
| 62 |
), |
|---|
| 63 |
3 => array( |
|---|
| 64 |
'checked', 'is', 'new', 'sizeof', 'typeof', 'unchecked' |
|---|
| 65 |
), |
|---|
| 66 |
4 => array( |
|---|
| 67 |
'bool', 'byte', 'char', 'class', 'decimal', 'delegate', 'double', |
|---|
| 68 |
'enum', 'float', 'int', 'interface', 'long', 'object', 'sbyte', |
|---|
| 69 |
'short', 'string', 'struct', 'uint', 'ulong', 'ushort' |
|---|
| 70 |
), |
|---|
| 71 |
5 => array( |
|---|
| 72 |
'Microsoft.Win32', |
|---|
| 73 |
'System', |
|---|
| 74 |
'System.CodeDOM', |
|---|
| 75 |
'System.CodeDOM.Compiler', |
|---|
| 76 |
'System.Collections', |
|---|
| 77 |
'System.Collections.Bases', |
|---|
| 78 |
'System.ComponentModel', |
|---|
| 79 |
'System.ComponentModel.Design', |
|---|
| 80 |
'System.ComponentModel.Design.CodeModel', |
|---|
| 81 |
'System.Configuration', |
|---|
| 82 |
'System.Configuration.Assemblies', |
|---|
| 83 |
'System.Configuration.Core', |
|---|
| 84 |
'System.Configuration.Install', |
|---|
| 85 |
'System.Configuration.Interceptors', |
|---|
| 86 |
'System.Configuration.Schema', |
|---|
| 87 |
'System.Configuration.Web', |
|---|
| 88 |
'System.Core', |
|---|
| 89 |
'System.Data', |
|---|
| 90 |
'System.Data.ADO', |
|---|
| 91 |
'System.Data.Design', |
|---|
| 92 |
'System.Data.Internal', |
|---|
| 93 |
'System.Data.SQL', |
|---|
| 94 |
'System.Data.SQLTypes', |
|---|
| 95 |
'System.Data.XML', |
|---|
| 96 |
'System.Data.XML.DOM', |
|---|
| 97 |
'System.Data.XML.XPath', |
|---|
| 98 |
'System.Data.XML.XSLT', |
|---|
| 99 |
'System.Diagnostics', |
|---|
| 100 |
'System.Diagnostics.SymbolStore', |
|---|
| 101 |
'System.DirectoryServices', |
|---|
| 102 |
'System.Drawing', |
|---|
| 103 |
'System.Drawing.Design', |
|---|
| 104 |
'System.Drawing.Drawing2D', |
|---|
| 105 |
'System.Drawing.Imaging', |
|---|
| 106 |
'System.Drawing.Printing', |
|---|
| 107 |
'System.Drawing.Text', |
|---|
| 108 |
'System.Globalization', |
|---|
| 109 |
'System.IO', |
|---|
| 110 |
'System.IO.IsolatedStorage', |
|---|
| 111 |
'System.Messaging', |
|---|
| 112 |
'System.Net', |
|---|
| 113 |
'System.Net.Sockets', |
|---|
| 114 |
'System.NewXml', |
|---|
| 115 |
'System.NewXml.XPath', |
|---|
| 116 |
'System.NewXml.Xsl', |
|---|
| 117 |
'System.Reflection', |
|---|
| 118 |
'System.Reflection.Emit', |
|---|
| 119 |
'System.Resources', |
|---|
| 120 |
'System.Runtime.InteropServices', |
|---|
| 121 |
'System.Runtime.InteropServices.Expando', |
|---|
| 122 |
'System.Runtime.Remoting', |
|---|
| 123 |
'System.Runtime.Serialization', |
|---|
| 124 |
'System.Runtime.Serialization.Formatters', |
|---|
| 125 |
'System.Runtime.Serialization.Formatters.Binary', |
|---|
| 126 |
'System.Security', |
|---|
| 127 |
'System.Security.Cryptography', |
|---|
| 128 |
'System.Security.Cryptography.X509Certificates', |
|---|
| 129 |
'System.Security.Permissions', |
|---|
| 130 |
'System.Security.Policy', |
|---|
| 131 |
'System.Security.Principal', |
|---|
| 132 |
'System.ServiceProcess', |
|---|
| 133 |
'System.Text', |
|---|
| 134 |
'System.Text.RegularExpressions', |
|---|
| 135 |
'System.Threading', |
|---|
| 136 |
'System.Timers', |
|---|
| 137 |
'System.Web', |
|---|
| 138 |
'System.Web.Caching', |
|---|
| 139 |
'System.Web.Configuration', |
|---|
| 140 |
'System.Web.Security', |
|---|
| 141 |
'System.Web.Services', |
|---|
| 142 |
'System.Web.Services.Description', |
|---|
| 143 |
'System.Web.Services.Discovery', |
|---|
| 144 |
'System.Web.Services.Protocols', |
|---|
| 145 |
'System.Web.UI', |
|---|
| 146 |
'System.Web.UI.Design', |
|---|
| 147 |
'System.Web.UI.Design.WebControls', |
|---|
| 148 |
'System.Web.UI.Design.WebControls.ListControls', |
|---|
| 149 |
'System.Web.UI.HtmlControls', |
|---|
| 150 |
'System.Web.UI.WebControls', |
|---|
| 151 |
'System.WinForms', |
|---|
| 152 |
'System.WinForms.ComponentModel', |
|---|
| 153 |
'System.WinForms.Design', |
|---|
| 154 |
'System.Xml', |
|---|
| 155 |
'System.Xml.Serialization', |
|---|
| 156 |
'System.Xml.Serialization.Code', |
|---|
| 157 |
'System.Xml.Serialization.Schema' |
|---|
| 158 |
), |
|---|
| 159 |
|
|---|
| 160 |
'SYMBOLS' => array( |
|---|
| 161 |
'+', '-', '*', '?', '=', '/', '%', '&', '>', '<', '^', '!', '|', ':', |
|---|
| 162 |
'(', ')', '{', '}', '[', ']' |
|---|
| 163 |
), |
|---|
| 164 |
'CASE_SENSITIVE' => array( |
|---|
| 165 |
GESHI_COMMENTS => true, |
|---|
| 166 |
1 => false, |
|---|
| 167 |
2 => false, |
|---|
| 168 |
3 => false, |
|---|
| 169 |
4 => false, |
|---|
| 170 |
5 => false, |
|---|
| 171 |
|
|---|
| 172 |
'STYLES' => array( |
|---|
| 173 |
'KEYWORDS' => array( |
|---|
| 174 |
1 => 'color: #0600FF;', |
|---|
| 175 |
2 => 'color: #FF8000; font-weight: bold;', |
|---|
| 176 |
3 => 'color: #008000;', |
|---|
| 177 |
4 => 'color: #FF0000;', |
|---|
| 178 |
5 => 'color: #000000;' |
|---|
| 179 |
), |
|---|
| 180 |
'COMMENTS' => array( |
|---|
| 181 |
1 => 'color: #008080; font-style: italic;', |
|---|
| 182 |
2 => 'color: #008080;', |
|---|
| 183 |
'MULTI' => 'color: #008080; font-style: italic;' |
|---|
| 184 |
), |
|---|
| 185 |
'ESCAPE_CHAR' => array( |
|---|
| 186 |
0 => 'color: #008080; font-weight: bold;' |
|---|
| 187 |
), |
|---|
| 188 |
'BRACKETS' => array( |
|---|
| 189 |
0 => 'color: #000000;' |
|---|
| 190 |
), |
|---|
| 191 |
'STRINGS' => array( |
|---|
| 192 |
0 => 'color: #808080;' |
|---|
| 193 |
), |
|---|
| 194 |
'NUMBERS' => array( |
|---|
| 195 |
0 => 'color: #FF0000;' |
|---|
| 196 |
), |
|---|
| 197 |
'METHODS' => array( |
|---|
| 198 |
1 => 'color: #0000FF;', |
|---|
| 199 |
2 => 'color: #0000FF;' |
|---|
| 200 |
), |
|---|
| 201 |
'SYMBOLS' => array( |
|---|
| 202 |
0 => 'color: #008000;' |
|---|
| 203 |
), |
|---|
| 204 |
'REGEXPS' => array( |
|---|
| 205 |
|
|---|
| 206 |
'SCRIPT' => array( |
|---|
| 207 |
|
|---|
| 208 |
|
|---|
| 209 |
'URLS' => array( |
|---|
| 210 |
1 => '', |
|---|
| 211 |
2 => '', |
|---|
| 212 |
3 => 'http://www.google.com/search?q={FNAME}+msdn.microsoft.com', |
|---|
| 213 |
4 => '' |
|---|
| 214 |
), |
|---|
| 215 |
'OOLANG' => true, |
|---|
| 216 |
'OBJECT_SPLITTERS' => array( |
|---|
| 217 |
1 => '.', |
|---|
| 218 |
2 => '::' |
|---|
| 219 |
), |
|---|
| 220 |
'REGEXPS' => array( |
|---|
| 221 |
|
|---|
| 222 |
'STRICT_MODE_APPLIES' => GESHI_NEVER, |
|---|
| 223 |
'SCRIPT_DELIMITERS' => array( |
|---|
| 224 |
|
|---|
| 225 |
'HIGHLIGHT_STRICT_BLOCK' => array( |
|---|
| 226 |
|
|---|
| 227 |
|
|---|
| 228 |
|
|---|
| 229 |
?> |
|---|