From fa97918684d18a5bf1b38f947c1b647b2d372f68 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Thu, 22 May 2014 07:07:39 +0100 Subject: [PATCH] Use doFold now, pass string instead of object --- lib/file-control.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/file-control.php b/lib/file-control.php index 7340f3b..b372a57 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -394,11 +394,7 @@ if (action=="load") { top.ICEcoder.nextcMInstance++; top.ICEcoder.openFileMDTs.push(''); for (var i=0; i-1 - ? "braceRangeFinder" - : "tagRangeFinder" - ],null,"+","-",true)(cM, i); + top.ICEcoder.content.contentWindow.CodeMirror.doFold(cM.getLine(i).indexOf("{")>-1?"brace":"xml",null,"+","-",true)(cM, i); } top.ICEcoder.loadingFile = false;