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

Function reFocus

tools/pythonauto/static/codemirror/codemirror.js:1615–1615  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1613 on(d.scroller, "DOMMouseScroll", function(e){onScrollWheel(cm, e);});
1614
1615 function reFocus() { if (cm.state.focused) setTimeout(bind(focusInput, cm), 0); }
1616 on(d.scrollbarH, "mousedown", reFocus);
1617 on(d.scrollbarV, "mousedown", reFocus);
1618 // Prevent wrapper from ever scrolling

Callers

nothing calls this directly

Calls 1

bindFunction · 0.70

Tested by

no test coverage detected