diff --git a/lib/ice-coder.js b/lib/ice-coder.js
index 8a1eb08..5cb3aff 100644
--- a/lib/ice-coder.js
+++ b/lib/ice-coder.js
@@ -2605,7 +2605,7 @@ var ICEcoder = {
// Update the settings used when we make a change to them
useNewSettings: function(themeURL,codeAssist,lockedNav,tagWrapperCommand,autoComplete,visibleTabs,fontSize,lineWrapping,indentWithTabs,indentAuto,indentSize,pluginPanelAligned,bugFilePaths,bugFileCheckTimer,bugFileMaxLines,githubAuthTokenSet,updateDiffOnSave,refreshFM) {
- var styleNode, strCSS, cMCSS, activeLineBG;
+ var styleNode, thisCSS, strCSS, activeLineBG;
// cut out ?microtime= at the end
var cleanThemeUrl = themeURL.slice(0, themeURL.lastIndexOf("?"));
@@ -2644,13 +2644,23 @@ var ICEcoder = {
top.ICEcoder.hideFileMenu();
};
+ // Update font size at top level
+ thisCSS = top.document.styleSheets[0];
+ strCSS = thisCSS.rules ? 'rules' : 'cssRules';
+ thisCSS[strCSS][0].style['fontSize'] = fontSize;
- cMCSS = ICEcoder.content.contentWindow.document.styleSheets[4];
- strCSS = cMCSS.rules ? 'rules' : 'cssRules';
- cMCSS[strCSS][0].style['fontSize'] = fontSize;
- cMCSS[strCSS][4].style['border-left-width'] = visibleTabs ? '1px' : '0';
- cMCSS[strCSS][4].style['margin-left'] = visibleTabs ? '-1px' : '0';
- cMCSS[strCSS][2].style.cssText = "background-color: " + activeLineBG + " !important";
+ // Update font size in file manager
+ thisCSS = ICEcoder.filesFrame.contentWindow.document.styleSheets[3];
+ strCSS = thisCSS.rules ? 'rules' : 'cssRules';
+ thisCSS[strCSS][0].style['fontSize'] = fontSize;
+
+ // Update styles in editor
+ thisCSS = ICEcoder.content.contentWindow.document.styleSheets[4];
+ strCSS = thisCSS.rules ? 'rules' : 'cssRules';
+ thisCSS[strCSS][0].style['fontSize'] = fontSize;
+ thisCSS[strCSS][4].style['border-left-width'] = visibleTabs ? '1px' : '0';
+ thisCSS[strCSS][4].style['margin-left'] = visibleTabs ? '-1px' : '0';
+ thisCSS[strCSS][2].style.cssText = "background-color: " + activeLineBG + " !important";
top.ICEcoder.lineWrapping = lineWrapping;
top.ICEcoder.indentWithTabs = indentWithTabs;
diff --git a/lib/ice-coder.min.js b/lib/ice-coder.min.js
index d9ebd64..d5c0922 100644
--- a/lib/ice-coder.min.js
+++ b/lib/ice-coder.min.js
@@ -116,28 +116,29 @@ a+"&selectedFiles="+top.ICEcoder.selectedFiles.join(";")+"&csrf="+top.ICEcoder.c
"show"==a?"block":"none";top.get("fileNav").style.display="show"==a?"none":"block"},githubManager:function(){top.ICEcoder.githubAuthTokenSet?(top.get("mediaContainer").innerHTML='',top.ICEcoder.showHide("show",top.get("blackMask"))):top.ICEcoder.githubTokenAsk("showManager")},githubDiffToggle:function(){var a;if(!top.ICEcoder.githubAuthTokenSet)top.ICEcoder.githubTokenAsk("loadFiles");else if(top.ICEcoder.githubDiff||
top.ICEcoder.ask(top.t["This will compare..."]))top.ICEcoder.githubDiff=!top.ICEcoder.githubDiff,a=top.ICEcoder.githubDiff?"true":"false",top.ICEcoder.filesFrame.src="files.php?githubDiff="+a+"&csrf="+top.ICEcoder.csrf},useNewSettings:function(a,b,c,d,e,f,g,h,k,l,p,n,m,q,u,v,w,x){var r,t=a.slice(0,a.lastIndexOf("?")),t=t.slice(t.lastIndexOf("/")+1,t.lastIndexOf("."));top.ICEcoder.theme!==t&&(top.ICEcoder.theme=t,"editor"==top.ICEcoder.theme&&(top.ICEcoder.theme="icecoder"),r=document.createElement("link"),
r.setAttribute("rel","stylesheet"),r.setAttribute("type","text/css"),r.setAttribute("href",a),top.ICEcoder.content.contentWindow.document.getElementsByTagName("head")[0].appendChild(r),r=-1<"3024-day base16-light eclipse elegant mdn-like neat neo paraiso-light solarized the-matrix xq-light".split(" ").indexOf(top.ICEcoder.theme)?"#ccc":-1<"3024-night blackboard colorforth liquibyte night tomorrow-night-bright tomorrow-night-eighties vibrant-ink".split(" ").indexOf(top.ICEcoder.theme)?"#888":"#000",
-top.ICEcoder.switchTab(top.ICEcoder.selectedTab));b!=top.ICEcoder.codeAssist&&(top.get("codeAssist").checked=b,top.ICEcoder.codeAssistToggle());c!=top.ICEcoder.lockedNav&&(top.ICEcoder.lockUnlockNav(),ICEcoder.changeFilesW(c?"expand":"contract"),top.ICEcoder.hideFileMenu());b=ICEcoder.content.contentWindow.document.styleSheets[4];a=b.rules?"rules":"cssRules";b[a][0].style.fontSize=g;b[a][4].style["border-left-width"]=f?"1px":"0";b[a][4].style["margin-left"]=f?"-1px":"0";b[a][2].style.cssText="background-color: "+
-r+" !important";top.ICEcoder.lineWrapping=h;top.ICEcoder.indentWithTabs=k;top.ICEcoder.indentSize=p;top.ICEcoder.indentAuto=l;for(f=0;fchMod "+b+" on "+
-a.replace(/\|/g,"/"))},openPreviewWindow:function(){if(0Thanks for updating to v'+top.ICEcoder.versionNo+'!
Click anywhere to continue using ICEcoder...
'},
-xhrObj:function(){try{return new XMLHttpRequest}catch(a){}try{return new ActiveXObject("Msxml3.XMLHTTP")}catch(b){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(c){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(d){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(f){}return null},openBugReport:function(){var a;"off"==top.ICEcoder.bugReportStatus&&top.ICEcoder.message(top.t["You can start..."]);"error"==top.ICEcoder.bugReportStatus&&
-top.ICEcoder.message(top.t["Error cannot find..."]);"ok"==top.ICEcoder.bugReportStatus&&top.ICEcoder.message(top.t["No new errors..."]);"bugs"==top.ICEcoder.bugReportStatus&&(a=top.ICEcoder.openFiles.indexOf(top.ICEcoder.bugReportPath.replace(/\|/g,"/")),-1/g,">").replace(/"/g,""").replace(/'/g,"'")},printCode:function(){var a,b;a=top.ICEcoder.getcMInstance();b=top.ICEcoder.getcMdiffInstance();a=-1ICEcoder code output