MCPcopy
hub / github.com/csev/py4e / handleCharBinding

Function handleCharBinding

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:766–774  ·  view source on GitHub ↗
(e, ch)

Source from the content-addressed store, hash-verified

764 return handled;
765 }
766 function handleCharBinding(e, ch) {
767 var handled = lookupKey("'" + ch + "'", options.extraKeys,
768 options.keyMap, function(b) { return doHandleBinding(b, true); });
769 if (handled) {
770 e_preventDefault(e);
771 restartBlink();
772 }
773 return handled;
774 }
775
776 var lastStoppedKey = null, maybeTransition;
777 function onKeyDown(e) {

Callers 1

onKeyPressFunction · 0.70

Calls 4

lookupKeyFunction · 0.70
doHandleBindingFunction · 0.70
e_preventDefaultFunction · 0.70
restartBlinkFunction · 0.70

Tested by

no test coverage detected