Liferay.Loader.define("liferay!layout-content-page-editor-web$codemirror@5.65.2/addon/fold/indent-fold",["module","exports","require","../../lib/codemirror"],(function(e,n,o){window,function(e){"use strict";function lineIndent(n,o){var t=n.getLine(o),i=t.search(/\S/);return-1==i||/\bcomment\b/.test(n.getTokenTypeAt(e.Pos(o,i+1)))?-1:e.countColumn(t,null,n.getOption("tabSize"))}e.registerHelper("fold","indent",(function(n,o){var t=lineIndent(n,o.line);if(!(t<0)){for(var i=null,r=o.line+1,l=n.lastLine();r<=l;++r){var d=lineIndent(n,r);if(-1==d);else{if(!(d>t))break;i=r}}return i?{from:e.Pos(o.line,n.getLine(o.line).length),to:e.Pos(i,n.getLine(i).length)}:void 0}}))}("object"==typeof n&&"object"==typeof e?o("../../lib/codemirror"):CodeMirror)}));
//# sourceMappingURL=indent-fold.js.map