diff --git a/lib/ice-coder.js b/lib/ice-coder.js index bc1f7b7..4b85dcb 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -111,7 +111,7 @@ var ICEcoder = { // If we need to set the editor sizes if (!dontSetEditor) { this.editor.style.width = ICEcoder.content.style.width = (winW-this.filesW) + "px"; - ICEcoder.content.style.height = (winH-headerH-tabsBarH-findBarH) + "px"; + ICEcoder.content.style.height = (winH-headerH-tabsBarH-findBarH-26) + "px"; // Resize the CodeMirror instances to match the window size setTimeout(function(){ diff --git a/lib/ice-coder.min.js b/lib/ice-coder.min.js index 0e65790..fb42fd6 100644 --- a/lib/ice-coder.min.js +++ b/lib/ice-coder.min.js @@ -2,7 +2,7 @@ var get=function(a){return top.document.getElementById(a)},ICEcoder={filesW:250, tabFGnormalTab:"#888",serverQueueItems:[],previewWindow:!1,pluginIntervalRefs:[],overPopup:!1,cmdKey:!1,fmReady:!1,ready:!1,initAliases:function(){for(var a="header files account filesFrame editor tabsBar findBar content footer nestValid nestDisplay charDisplay byteDisplay".split(" "),b=0;bICEcoder.minFilesW+1?ICEcoder.filesW-=Math.ceil((ICEcoder.filesW-ICEcoder.minFilesW)/2):ICEcoder.filesW=ICEcoder.minFilesW;("expand"==a&&ICEcoder.filesW==ICEcoder.maxFilesW||"contract"==a&&ICEcoder.filesW==ICEcoder.minFilesW)&&clearInterval(ICEcoder.changeFilesInt);ICEcoder.setLayout()},canResizeFilesW:function(){top.ICEcoder.ready&& "w-resize"==top.document.body.style.cursor?top.ICEcoder.mouseDown&&(top.ICEcoder.filesW=top.ICEcoder.maxFilesW=250<=top.ICEcoder.mouseX&&400>=top.ICEcoder.mouseX?top.ICEcoder.mouseX:250>top.ICEcoder.mouseX?250:400,top.ICEcoder.files.style.width=top.ICEcoder.account.style.width=top.ICEcoder.filesFrame.style.width=top.ICEcoder.filesW+"px",top.ICEcoder.setLayout(),top.ICEcoder.draggingFilesW=!0):top.ICEcoder.draggingFilesW=!1},lockUnlockNav:function(){var a;a=top.filesFrame.contentWindow.document.getElementById("fmLock"); ICEcoder.lockedNav=!ICEcoder.lockedNav;a.style.backgroundPosition=ICEcoder.lockedNav?"-64px -16px":"-80px -16px"},contentCleanUp:function(){var a,b;a=ICEcoder.getcMInstance();b=a.getValue();b=b.replace(//g,"");a.setValue(b);a.clearHistory()},moveLines:function(a){var b,c,d,e,f;b=top.ICEcoder.getcMInstance();c=b.getCursor("start");d=b.getCursor("end");"up"==a&&0