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

web-interface.assets.2fe2904fc024afaf81732563cb83e547.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{var B=(f,g)=>()=>(g||f((g={exports:{}}).exports,g),g.exports);var G=B((W,w)=>{ace.define("ace/ext/hardwrap",["require","exports","module","ace/range","ace/editor","ace/config"],function(f,g,I){"use strict";var p=f("../range").Range;function S(t,e){for(var n=e.column||t.getOption("printMarginColumn"),M=e.allowMerge!=!1,a=Math.min(e.startRow,e.endRow),d=Math.max(e.startRow,e.endRow),v=t.session;a<=d;){var l=v.getLine(a);if(l.length>n){var i=y(l,n,5);if(i){var A=/^\s*/.exec(l)[0];v.replace(new p(a,i.start,a,i.end),`
`+A)}d++}else if(M&&/\S/.test(l)&&a!=d){var u=v.getLine(a+1);if(u&&/\S/.test(u)){var h=l.replace(/\s+$/,""),b=u.replace(/^\s+/,""),x=h+" "+b,i=y(x,n,5);if(i&&i.start>h.length||x.lengthD)return{start:r.index,end:r.index+r[2].length};if(c&&c[2])return o=s+c[2].length,{start:o,end:o+c[3].length}}}}function E(t){if(t.command.name=="insertstring"&&/\S/.test(t.args)){var e=t.editor,n=e.selection.cursor;if(n.column<=e.renderer.$printMarginColumn)return;var M=e.session.$undoManager.$lastDelta;S(e,{startRow:n.row,endRow:n.row,allowMerge:!1}),M!=e.session.$undoManager.$lastDelta&&e.session.markUndoGroup()}}var j=f("../editor").Editor;f("../config").defineOptions(j.prototype,"editor",{hardWrap:{set:function(t){t?this.commands.on("afterExec",E):this.commands.off("afterExec",E)},value:!1}}),g.hardWrap=S});(function(){ace.require(["ace/ext/hardwrap"],function(f){typeof w=="object"&&typeof W=="object"&&w&&(w.exports=f)})})()});G();})();

//# sourceMappingURL=2fe2904fc024afaf81732563cb83e547.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy