Lines Matching refs:dp

8dp={sh:{Toolbar:{},Utils:{},RegexLib:{},Brushes:{},Strings:{AboutDialog:'<html><head><title>About.…  class
10dp.sh.Utils.FixForBlogger(highlighter.originalCode).replace(/</g,'&lt;');var wnd=window.open('','_…
11 {var code=dp.sh.Utils.FixForBlogger(highlighter.originalCode).replace(/&lt;/g,'<').replace(/&gt;/g,…
13 else if(dp.sh.ClipboardSwf!=null)
16 flashcopier.innerHTML='<embed src="'+dp.sh.ClipboardSwf+'" FlashVars="clipboard='+encodeURIComponen…
18 …00px;';document.body.appendChild(iframe);doc=iframe.contentWindow.document;dp.sh.Utils.CopyStyles(…
19 …ument;dp.sh.Utils.CopyStyles(doc,window.document);doc.write(dp.sh.Strings.AboutDialog.replace('{V}…
20 {var div=document.createElement('DIV');div.className='tools';for(var name in dp.sh.Toolbar.Commands)
21 {var cmd=dp.sh.Toolbar.Commands[name];if(cmd.check!=null&&!cmd.check(highlighter))
24 dp.sh.Toolbar.Command=function(name,sender)
27 dp.sh.Toolbar.Commands[name].func(sender,n.highlighter);}
28 dp.sh.Utils.CopyStyles=function(destDoc,sourceDoc)
32 dp.sh.Utils.FixForBlogger=function(str)
33 {return(dp.sh.isBloggerMode==true)?str.replace(/<br\s*\/?>|&lt;br\s*\/?&gt;/gi,'\n'):str;}
34 dp.sh.RegexLib={MultiLineCComments:new RegExp('/\\*[\\s\\S]*?\\*/','gm'),SingleLineCComments:new Re…
36 dp.sh.Highlighter=function()
38 dp.sh.Highlighter.SortCallback=function(m1,m2)
46 dp.sh.Highlighter.prototype.CreateElement=function(name)
48 dp.sh.Highlighter.prototype.GetMatches=function(regex,css)
50 this.matches[this.matches.length]=new dp.sh.Match(match[0],match.index,css);}
51 dp.sh.Highlighter.prototype.AddBit=function(str,css)
62 dp.sh.Highlighter.prototype.IsInside=function(match)
69 dp.sh.Highlighter.prototype.ProcessRegexList=function()
72 dp.sh.Highlighter.prototype.ProcessSmartTabs=function(code)
83 dp.sh.Highlighter.prototype.SwitchToList=function()
85 this.bar.appendChild(dp.sh.Toolbar.Create(this));if(this.showColumns)
95 dp.sh.Highlighter.prototype.Highlight=function(code)
101 {var lines=dp.sh.Utils.FixForBlogger(str).split('\n');var indents=new Array();var regex=new RegExp(…
117 this.matches=this.matches.sort(dp.sh.Highlighter.SortCallback);for(var i=0;i<this.matches.length;i+…
123 dp.sh.Highlighter.prototype.GetKeywords=function(str)
125 dp.sh.BloggerMode=function()
126 {dp.sh.isBloggerMode=true;}
127 dp.sh.HighlightAll=function(name,showGutter,showControls,collapseAll,firstLine,showColumns)
148 return;for(var brush in dp.sh.Brushes)
149 {var aliases=dp.sh.Brushes[brush].Aliases;if(aliases==null)
155 continue;highlighter=new dp.sh.Brushes[registered[language]]();element.style.display='none';highlig…