CodeMirror.registerHelper("fold","indent",function(e,t){var n=e.getOption("tabSize"),r=e.getLine(t.line),i=CodeMirror.countColumn(r,null,n);for(var s=t.line+1,o=e.lineCount();s<o;++s){var u=e.getLine(s);if(CodeMirror.countColumn(u,null,n)<i&&CodeMirror.countColumn(e.getLine(s-1),null,n)>i)return{from:CodeMirror.Pos(t.line,r.length),to:CodeMirror.Pos(s,u.length)}}}),CodeMirror.indentRangeFinder=CodeMirror.fold.indent;