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

Function eventInWidget

tools/pythonauto/static/codemirror/codemirror.js:1701–1705  ·  view source on GitHub ↗
(display, e)

Source from the content-addressed store, hash-verified

1699 }
1700
1701 function eventInWidget(display, e) {
1702 for (var n = e_target(e); n != display.wrapper; n = n.parentNode) {
1703 if (!n || n.ignoreEvents || n.parentNode == display.sizer && n != display.mover) return true;
1704 }
1705 }
1706
1707 function posFromMouse(cm, e, liberal) {
1708 var display = cm.display;

Callers 5

registerEventHandlersFunction · 0.70
onMouseDownFunction · 0.70
onDropFunction · 0.70
onDragStartFunction · 0.70
onContextMenuFunction · 0.70

Calls 1

e_targetFunction · 0.70

Tested by

no test coverage detected