MCPcopy Index your code
hub / github.com/csev/py4e / isModifierKey

Function isModifierKey

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:2315–2318  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

2313 return lookup(map);
2314 }
2315 function isModifierKey(event) {
2316 var name = keyNames[e_prop(event, "keyCode")];
2317 return name == "Ctrl" || name == "Alt" || name == "Shift" || name == "Mod";
2318 }
2319
2320 CodeMirror.fromTextArea = function(textarea, options) {
2321 if (!options) options = {};

Callers 2

handleKeyBindingFunction · 0.70
handleKeyBindingFunction · 0.70

Calls 1

e_propFunction · 0.85

Tested by

no test coverage detected