From ce2b69675075444c9e40b72bcdd42ab7edbbe633 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 28 Jan 2011 22:51:06 +0100 Subject: update to CI 2.0 Signed-off-by: Florian Pritz --- system/application/libraries/geshi/csharp.php | 253 -------------------------- 1 file changed, 253 deletions(-) delete mode 100644 system/application/libraries/geshi/csharp.php (limited to 'system/application/libraries/geshi/csharp.php') diff --git a/system/application/libraries/geshi/csharp.php b/system/application/libraries/geshi/csharp.php deleted file mode 100644 index aa166801d..000000000 --- a/system/application/libraries/geshi/csharp.php +++ /dev/null @@ -1,253 +0,0 @@ - 'C#', - 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'), - 'COMMENT_MULTI' => array('/*' => '*/'), - 'COMMENT_REGEXP' => array( - //Using and Namespace directives (basic support) - //Please note that the alias syntax for using is not supported - 3 => '/(?:(?<=using[\\n\\s])|(?<=namespace[\\n\\s]))[\\n\\s]*([a-zA-Z0-9_]+\\.)*[a-zA-Z0-9_]+[\n\s]*(?=[;=])/i'), - 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, - 'QUOTEMARKS' => array("'", '"'), - 'HARDQUOTE' => array('@"', '"'), - 'HARDESCAPE' => array('"'), - 'HARDCHAR' => '"', - 'ESCAPE_CHAR' => '\\', - 'KEYWORDS' => array( - 1 => array( - 'as', 'auto', 'base', 'break', 'case', 'catch', 'const', 'continue', - 'default', 'do', 'else', 'event', 'explicit', 'extern', 'false', - 'finally', 'fixed', 'for', 'foreach', 'from', 'goto', 'if', - 'implicit', 'in', 'internal', 'lock', 'namespace', 'null', - 'operator', 'out', 'override', 'params', 'partial', 'private', - 'protected', 'public', 'readonly', 'ref', 'return', 'sealed', - 'select', 'stackalloc', 'static', 'switch', 'this', 'throw', 'true', - 'try', 'unsafe', 'using', 'virtual', 'where', 'while', 'yield' - ), - 2 => array( - '#elif', '#endif', '#endregion', '#else', '#error', '#define', '#if', - '#line', '#region', '#undef', '#warning' - ), - 3 => array( - 'checked', 'is', 'new', 'sizeof', 'typeof', 'unchecked' - ), - 4 => array( - 'bool', 'byte', 'char', 'class', 'decimal', 'delegate', 'double', - 'enum', 'float', 'int', 'interface', 'long', 'object', 'sbyte', - 'short', 'string', 'struct', 'uint', 'ulong', 'ushort', 'void' - ), - 5 => array( - 'Microsoft.Win32', - 'System', - 'System.CodeDOM', - 'System.CodeDOM.Compiler', - 'System.Collections', - 'System.Collections.Bases', - 'System.ComponentModel', - 'System.ComponentModel.Design', - 'System.ComponentModel.Design.CodeModel', - 'System.Configuration', - 'System.Configuration.Assemblies', - 'System.Configuration.Core', - 'System.Configuration.Install', - 'System.Configuration.Interceptors', - 'System.Configuration.Schema', - 'System.Configuration.Web', - 'System.Core', - 'System.Data', - 'System.Data.ADO', - 'System.Data.Design', - 'System.Data.Internal', - 'System.Data.SQL', - 'System.Data.SQLTypes', - 'System.Data.XML', - 'System.Data.XML.DOM', - 'System.Data.XML.XPath', - 'System.Data.XML.XSLT', - 'System.Diagnostics', - 'System.Diagnostics.SymbolStore', - 'System.DirectoryServices', - 'System.Drawing', - 'System.Drawing.Design', - 'System.Drawing.Drawing2D', - 'System.Drawing.Imaging', - 'System.Drawing.Printing', - 'System.Drawing.Text', - 'System.Globalization', - 'System.IO', - 'System.IO.IsolatedStorage', - 'System.Messaging', - 'System.Net', - 'System.Net.Sockets', - 'System.NewXml', - 'System.NewXml.XPath', - 'System.NewXml.Xsl', - 'System.Reflection', - 'System.Reflection.Emit', - 'System.Resources', - 'System.Runtime.InteropServices', - 'System.Runtime.InteropServices.Expando', - 'System.Runtime.Remoting', - 'System.Runtime.Serialization', - 'System.Runtime.Serialization.Formatters', - 'System.Runtime.Serialization.Formatters.Binary', - 'System.Security', - 'System.Security.Cryptography', - 'System.Security.Cryptography.X509Certificates', - 'System.Security.Permissions', - 'System.Security.Policy', - 'System.Security.Principal', - 'System.ServiceProcess', - 'System.Text', - 'System.Text.RegularExpressions', - 'System.Threading', - 'System.Timers', - 'System.Web', - 'System.Web.Caching', - 'System.Web.Configuration', - 'System.Web.Security', - 'System.Web.Services', - 'System.Web.Services.Description', - 'System.Web.Services.Discovery', - 'System.Web.Services.Protocols', - 'System.Web.UI', - 'System.Web.UI.Design', - 'System.Web.UI.Design.WebControls', - 'System.Web.UI.Design.WebControls.ListControls', - 'System.Web.UI.HtmlControls', - 'System.Web.UI.WebControls', - 'System.WinForms', - 'System.WinForms.ComponentModel', - 'System.WinForms.Design', - 'System.Xml', - 'System.Xml.Serialization', - 'System.Xml.Serialization.Code', - 'System.Xml.Serialization.Schema' - ), - ), - 'SYMBOLS' => array( - '+', '-', '*', '?', '=', '/', '%', '&', '>', '<', '^', '!', ':', ';', - '(', ')', '{', '}', '[', ']', '|', '.' - ), - 'CASE_SENSITIVE' => array( - GESHI_COMMENTS => false, - 1 => false, - 2 => false, - 3 => false, - 4 => false, - 5 => false, - ), - 'STYLES' => array( - 'KEYWORDS' => array( - 1 => 'color: #0600FF; font-weight: bold;', - 2 => 'color: #FF8000; font-weight: bold;', - 3 => 'color: #008000;', - 4 => 'color: #6666cc; font-weight: bold;', - 5 => 'color: #000000;' - ), - 'COMMENTS' => array( - 1 => 'color: #008080; font-style: italic;', - 2 => 'color: #008080;', - 3 => 'color: #008080;', - 'MULTI' => 'color: #008080; font-style: italic;' - ), - 'ESCAPE_CHAR' => array( - 0 => 'color: #008080; font-weight: bold;', - 'HARD' => 'color: #008080; font-weight: bold;' - ), - 'BRACKETS' => array( - 0 => 'color: #008000;' - ), - 'STRINGS' => array( - 0 => 'color: #666666;', - 'HARD' => 'color: #666666;' - ), - 'NUMBERS' => array( - 0 => 'color: #FF0000;' - ), - 'METHODS' => array( - 1 => 'color: #0000FF;', - 2 => 'color: #0000FF;' - ), - 'SYMBOLS' => array( - 0 => 'color: #008000;' - ), - 'REGEXPS' => array( - ), - 'SCRIPT' => array( - ) - ), - 'URLS' => array( - 1 => '', - 2 => '', - 3 => 'http://www.google.com/search?q={FNAMEL}+msdn.microsoft.com', - 4 => '', - 5 => '' - ), - 'OOLANG' => true, - 'OBJECT_SPLITTERS' => array( - 1 => '.', - 2 => '::' - ), - 'REGEXPS' => array( - ), - 'STRICT_MODE_APPLIES' => GESHI_NEVER, - 'SCRIPT_DELIMITERS' => array( - ), - 'HIGHLIGHT_STRICT_BLOCK' => array( - ), - 'TAB_WIDTH' => 4, - 'PARSER_CONTROL' => array( - 'KEYWORDS' => array( - 'DISALLOWED_BEFORE' => "(?|^])", - 'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_%\\-])" - ) - ) -); - -?> \ No newline at end of file -- cgit v1.2.3-24-g4f1b