All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.0a9cd3d62e7f1cd404606c50d9da86fb.js Maven / Gradle / Ivy

There is a newer version: 6.0.2
Show newest version
ace.define("ace/ext/static_highlight",["require","exports","module","ace/edit_session","ace/layer/text","ace/config","ace/lib/dom","ace/lib/lang"],(function(require,exports,e){"use strict";var t=require("../edit_session").EditSession,n=require("../layer/text").Text,i=require("../config"),o=require("../lib/dom"),r=require("../lib/lang").escapeHTML;function s(e){this.type=e,this.style={},this.textContent=""}s.prototype.cloneNode=function(){return this},s.prototype.appendChild=function(e){this.textContent+=e.toString()},s.prototype.toString=function(){var e=[];if("fragment"!=this.type){e.push("<",this.type),this.className&&e.push(" class='",this.className,"'");var t=[];for(var n in this.style)t.push(n,":",this.style[n]);t.length&&e.push(" style='",t.join(""),"'"),e.push(">")}return this.textContent&&e.push(this.textContent),"fragment"!=this.type&&e.push(""),e.join("")};var a={createTextNode:function(e,t){return r(e)},createElement:function(e){return new s(e)},createFragment:function(){return new s("fragment")}},c=function(){this.config={},this.dom=a};c.prototype=n.prototype;var l=function(e,t,n){var i=e.className.match(/lang-(\w+)/),r=t.mode||i&&"ace/mode/"+i[1];if(!r)return!1;var s=t.theme||"ace/theme/textmate",a="",c=[];if(e.firstElementChild)for(var h=0,g=0;g




© 2015 - 2024 Weber Informatics LLC | Privacy Policy