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

Function done

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:634–642  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

632 }
633
634 function done(e) {
635 clearTimeout(going);
636 var cur = posFromMouse(e);
637 if (cur) setSelectionUser(start, cur);
638 e_preventDefault(e);
639 focusInput();
640 updateInput = true;
641 move(); up();
642 }
643 var move = connect(document, "mousemove", operation(function(e) {
644 clearTimeout(going);
645 e_preventDefault(e);

Callers 1

onMouseDownFunction · 0.70

Calls 6

setSelectionUserFunction · 0.85
moveFunction · 0.85
posFromMouseFunction · 0.70
e_preventDefaultFunction · 0.70
focusInputFunction · 0.70
upFunction · 0.70

Tested by

no test coverage detected