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

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

There is a newer version: 6.1.4
Show newest version
(()=>{var w=(I,r)=>()=>(r||I((r={exports:{}}).exports,r),r.exports);var y=w(($,p)=>{ace.define("ace/ext/whitespace",["require","exports","module","ace/lib/lang"],function(I,r,z){"use strict";var A=I("../lib/lang");r.$detectIndentation=function(e,n){for(var t=[],h=[],l=0,c=0,o=Math.min(e.length,1e3),a=0;a0&&!(c%f)&&!(u%f)&&(h[f]=(h[f]||0)+1),t[u]=(t[u]||0)+1}c=u}for(;ag.score&&(g={score:v,length:a})}if(g.score&&g.score>1.4)var m=g.length;if(l>s+1)return(m==1||sl+1)return{ch:" ",length:m}},r.detectIndentation=function(e){var n=e.getLines(0,1e3),t=r.$detectIndentation(n)||{};return t.ch&&e.setUseSoftTabs(t.ch==" "),t.length&&e.setTabSize(t.length),t},r.trimTrailingSpace=function(e,n){var t=e.getDocument(),h=t.getAllLines(),l=n&&n.trimEmpty?-1:0,c=[],o=-1;n&&n.keepCursorPosition&&(e.selection.rangeCount?e.selection.rangeList.ranges.forEach(function(b,g,s){var v=s[g+1];v&&v.cursor.row==b.cursor.row||c.push(b.cursor)}):c.push(e.selection.getCursor()),o=0);for(var a=c[o]&&c[o].row,i=0,u=h.length;il&&(d=c[o].column),o++,a=c[o]?c[o].row:-1),d>l&&t.removeInLine(i,d,f.length)}},r.convertIndentation=function(e,n,t){var h=e.getTabString()[0],l=e.getTabSize();t||(t=l),n||(n=h);for(var c=n=="	"?n:A.stringRepeat(n,t),o=e.doc,a=o.getAllLines(),i={},u={},f=0,d=a.length;f




© 2015 - 2024 Weber Informatics LLC | Privacy Policy