/var/www/doncode.com.ua/www/zed/js/syntaxhighlighter
NameSizeModeActions
clipboard.swf1090644editdlrm
shBrushCpp.js30900644editdlrm
shBrushCSharp.js12170644editdlrm
shBrushCss.js46910644editdlrm
shBrushDelphi.js17210644editdlrm
shBrushJava.js12530644editdlrm
shBrushJScript.js10670644editdlrm
shBrushPhp.js39860644editdlrm
shBrushPython.js12850644editdlrm
shBrushRuby.js13230644editdlrm
shBrushSql.js22290644editdlrm
shBrushVb.js14750644editdlrm
shBrushXml.js14590644editdlrm
shCore.js124060644editdlrm
Edit: /var/www/doncode.com.ua/www/zed/js/syntaxhighlighter/shBrushPython.js (1285B)
/* * JsMin * Javascript Compressor * http://www.crockford.com/ * http://www.smallsharptools.com/ */ dp.sh.Brushes.Python=function() {var keywords='and assert break class continue def del elif else '+'except exec finally for from global if import in is '+'lambda not or pass print raise return try yield while';var special='None True False self cls class_' this.regexList=[{regex:dp.sh.RegexLib.SingleLinePerlComments,css:'comment'},{regex:new RegExp("^\\s*@\\w+",'gm'),css:'decorator'},{regex:new RegExp("(['\"]{3})([^\\1])*?\\1",'gm'),css:'comment'},{regex:new RegExp('"(?!")(?:\\.|\\\\\\"|[^\\""\\n\\r])*"','gm'),css:'string'},{regex:new RegExp("'(?!')*(?:\\.|(\\\\\\')|[^\\''\\n\\r])*'",'gm'),css:'string'},{regex:new RegExp("\\b\\d+\\.?\\w*",'g'),css:'number'},{regex:new RegExp(this.GetKeywords(keywords),'gm'),css:'keyword'},{regex:new RegExp(this.GetKeywords(special),'gm'),css:'special'}];this.CssClass='dp-py';this.Style='.dp-py .builtins { color: #ff1493; }'+'.dp-py .magicmethods { color: #808080; }'+'.dp-py .exceptions { color: brown; }'+'.dp-py .types { color: brown; font-style: italic; }'+'.dp-py .commonlibs { color: #8A2BE2; font-style: italic; }';} dp.sh.Brushes.Python.prototype=new dp.sh.Highlighter();dp.sh.Brushes.Python.Aliases=['py','python'];