Lines Matching refs:evt
35 keyHandler : function(evt) { argument
36 keyCode = evt.keyCode;
37 charCode = evt.charCode;
39 …if((evt.ctrlKey || evt.metaKey) && evt.shiftKey && charCode!=90) { // shortcuts = ctrl||appleKey+…
48 else if(keyCode==9 || evt.tabKey) { // snippets activation (tab)
49 CodePress.snippets(evt);
54 else if((charCode==122||charCode==121||charCode==90) && evt.ctrlKey) { // undo and redo
55 (charCode==121||evt.shiftKey) ? CodePress.actions.redo() : CodePress.actions.undo();
56 evt.preventDefault();
58 else if(keyCode==86 && evt.ctrlKey) { // paste
132 snippets : function(evt) { argument
143 evt.preventDefault(); // prevent the tab key from being added