Don't recursively set fold markers now onload

This commit is contained in:
Matt Pass
2016-03-12 16:41:16 +00:00
parent c72fd7f49a
commit e82d93108d

View File

@@ -190,10 +190,7 @@ if (action=="load") {
$fileCountInfo = getVersionsCount($fileLoc,$fileName);
echo $fileCountInfo['count'];?>);
top.ICEcoder.updateVersionsDisplay();
for (var i=0; i<cM.lineCount(); i++) {
top.ICEcoder.content.contentWindow.CodeMirror.doFold(cM.getLine(i).indexOf("{")>-1?"brace":"xml",null,"+","-",true)(cM, i);
}
top.ICEcoder.goToLine(<?php echo $lineNumber; ?>);
top.ICEcoder.loadingFile = false;
<?php