diff --git a/lib/help.php b/lib/help.php index 0810cea..f8800a4 100644 --- a/lib/help.php +++ b/lib/help.php @@ -60,6 +60,7 @@ CTRL + s Save
CTRL + Shift + s Save as...
CTRL + Enter View webpage
+ Space Refocus on document
Esc Cancel tasks
diff --git a/lib/ice-coder.js b/lib/ice-coder.js index 654f6ef..d07076f 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -2160,6 +2160,11 @@ var ICEcoder = { top.ICEcoder.addSnippet(); return false; + // Space outisde of editor (Focus on editor) + } else if(key==32 && area!="content") { + top.ICEcoder.getcMInstance().focus(); + return false; + // CTRL+J (Jump to definition) } else if(key==74 && evt.ctrlKey && area=="content") { top.ICEcoder.jumpToDefinition();