text: CodeMirror.runMode=function(e,t,n,r){var i=CodeMirror.getMode(CodeMirror.defaults,t),s=/MSIE \d/.test(navigator.userAgent),o=s&&(document.documentMode==null||document.documentMode<9);if(n.nodeType==1){var u=r&&r.tabSize||CodeMirror.defaults.tabSize,a=n,f=0;a.innerHTML="",n=function(e,t){if(e=="\n"){a.appendChild(document.createTextNode(o?"\r":e)),f=0;return}var n="";for(var r=0;;){var i=e.indexOf("	",r);if(i==-1){n+=e.slice(r),f+=e.length-r;break}f+=i-r,n+=e.slice(r,i);var s=u-f%u;f+=s;for(var l=0;l<s;++l)n+=" ";r=i+1}if(t){var c=a.appendChild(document.createElement("span"));c.className="cm-"+t.replace(/ +/g," cm-"),c.appendChild(document.createTextNode(n))}else a.appendChild(document.createTextNode(n))}}var l=CodeMirror.splitLines(e),c=CodeMirror.startState(i);for(var h=0,p=l.length;h<p;++h){h&&n("\n");var d=new CodeMirror.StringStream(l[h]);while(!d.eol()){var v=i.token(d,c);n(d.current(),v,h,d.start,c),d.start=d.pos}}};