mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Slightly taller help and 2 new shortcuts added
To lock/unlock file manager and fold/unfold current line
This commit is contained in:
@@ -1764,7 +1764,7 @@ var ICEcoder = {
|
||||
|
||||
// Show the help screen
|
||||
helpScreen: function() {
|
||||
top.get('mediaContainer').innerHTML = '<iframe src="lib/help.php" class="whiteGlow" style="width: 800px; height: 450px"></iframe>';
|
||||
top.get('mediaContainer').innerHTML = '<iframe src="lib/help.php" class="whiteGlow" style="width: 800px; height: 470px"></iframe>';
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user