Lines Matching refs:evt
38 keyHandler : function(evt) { argument
39 keyCode = evt.keyCode;
40 charCode = evt.charCode;
43 …if((evt.ctrlKey || evt.metaKey) && evt.shiftKey && charCode!=90) { // shortcuts = ctrl||appleKey+…
53 else if(keyCode==9 || evt.tabKey) { // snippets activation (tab)
54 CodePress.snippets(evt);
59 else if((charCode==122||charCode==121||charCode==90) && evt.ctrlKey) { // undo and redo
60 (charCode==121||evt.shiftKey) ? CodePress.actions.redo() : CodePress.actions.undo();
61 evt.preventDefault();
63 else if(charCode==118 && evt.ctrlKey) { // handle paste
66 else if(charCode==99 && evt.ctrlKey) { // handle cut
132 snippets : function(evt) { argument
143 evt.preventDefault(); // prevent the tab key from being added