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

web-interface.assets.1db8d65ab1ad8dbb0aae7b9ebe280ca7.js Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
ace.define("ace/ext/elastic_tabstops_lite",["require","exports","module","ace/editor","ace/config"],(function(require,exports,t){"use strict";var e=function(t){this.$editor=t;var e=this,s=[],i=!1;this.onAfterExec=function(){i=!1,e.processRows(s),s=[]},this.onExec=function(){i=!0},this.onChange=function(t){i&&(-1==s.indexOf(t.start.row)&&s.push(t.start.row),t.end.row!=t.start.row&&s.push(t.end.row))}};(function(){this.processRows=function(t){this.$inChange=!0;for(var e=[],s=0,i=t.length;s-1))for(var n=this.$findCellWidthsForBlock(o),r=this.$setBlockCellWidthsToMax(n.cellWidths),h=n.firstRow,a=0,c=r.length;a=0&&0!=(e=this.$cellWidthsForRow(i)).length;)s.unshift(e),i--;var o=i+1;i=t;for(var n=this.$editor.session.getLength();i0&&(this.$editor.session.getDocument().insertInLine({row:t,column:c+1},Array(l+1).join(" ")+"\t"),this.$editor.session.getDocument().removeInLine(t,c,c+1),i+=l),l<0&&p>=-l&&(this.$editor.session.getDocument().removeInLine(t,c+l,c),i+=l)}}},this.$izip_longest=function(t){if(!t[0])return[];for(var e=t[0].length,s=t.length,i=1;ie&&(e=o)}for(var n=[],r=0;r=e.length?e.length:t.length,i=[],o=0;o




© 2015 - 2024 Weber Informatics LLC | Privacy Policy