mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-11 11:06:48 +01:00
Space shortcut to refocus on document
Hit space when outside of document to refocus on it
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user