diff --git a/lib/ice-coder.js b/lib/ice-coder.js index 868747d..1068d33 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -1764,7 +1764,7 @@ var ICEcoder = { // Show the help screen helpScreen: function() { - top.get('mediaContainer').innerHTML = ''; + top.get('mediaContainer').innerHTML = ''; top.ICEcoder.showHide('show',top.get('blackMask')); }, @@ -2512,6 +2512,19 @@ var ICEcoder = { top.ICEcoder.jumpToDefinition(); return false; + // CTRL + Tab (lock/unlock file manager) + } else if(key==223 && (evt.ctrlKey||top.ICEcoder.cmdKey)) { + top.ICEcoder.lockUnlockNav(); + ICEcoder.changeFilesW(top.ICEcoder.lockedNav ? 'expand' : 'contract'); + return false; + + // CTRL + . (Fold/unfold current line) + } else if(key==190 && (evt.ctrlKey||top.ICEcoder.cmdKey)) { + var cM = ICEcoder.getcMInstance(); + var line = cM.getCursor().line; + cM.getLine(line).indexOf("{")>-1 + ? top.contentFrame.codeFoldBrace(cM, line) : top.contentFrame.codeFoldTag(cM, line); + // ESC in content area (Comment/Uncomment line) } else if(key==27 && area == "content") { top.ICEcoder.lineCommentToggle();