您目前尚未登陆,请选择【登陆】或【注册
首页->上传下载->多用户文件上传管理程序源码>>codepress/languages/csharp.js>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:多用户文件上传管理程序源码
当前文件:文件类型 FileSystem/codepress/languages/csharp.js打开代码结构图
普通视图
		            
1/* 2 * CodePress regular expressions for C# syntax highlighting 3 * By Edwin de Jonge 4 */ 5 6Language.syntax = [ // C# 7 { input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' }, // strings double quote 8 { input : /\'(.?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>' }, // strings single quote 9 { input : /\b(abstract|as|base|break|case|catch|checked|continue|default|delegate|do|else|event|explicit|extern|false|finally|fixed|for|foreach|get|goto|if|implicit|in|interface|internal|is|lock|namespace|new|null|object|operator|out|override|params|partial|private|protected|public|readonly|ref|return|set|sealed|sizeof|static|stackalloc|switch|this|throw|true|try|typeof|unchecked|unsafe|using|value|virtual|while)\b/g, output : '<b>$1</b>' }, // reserved words 10 { input : /\b(bool|byte|char|class|double|float|int|interface|long|string|struct|void)\b/g, output : '<a>$1</a>' }, // types 11 { input : /([^:]|^)\/\/(.*?)(<br|<\/P)/g, output : '$1<i>//$2</i>$3' }, // comments // 12 { input : /\/\*(.*?)\*\//g, output : '<i>/*$1*/</i>' } // comments /* */ 13]; 14 15Language.snippets = []; 16 17Language.complete = [ // Auto complete only for 1 character 18 {input : '\'',output : '\'$0\'' }, 19 {input : '"', output : '"$0"' }, 20 {input : '(', output : '\($0\)' }, 21 {input : '[', output : '\[$0\]' }, 22 {input : '{', output : '{\n\t$0\n}' } 23]; 24 25Language.shortcuts = [];
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:多用户文件上传管理程序源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号