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

Function prepareCopy

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

Source from the content-addressed store, hash-verified

1680 });
1681
1682 function prepareCopy(e) {
1683 if (d.inaccurateSelection) {
1684 d.prevInput = "";
1685 d.inaccurateSelection = false;
1686 d.input.value = cm.getSelection();
1687 selectInput(d.input);
1688 }
1689 if (e.type == "cut") cm.state.cutIncoming = true;
1690 }
1691 on(d.input, "cut", prepareCopy);
1692 on(d.input, "copy", prepareCopy);
1693

Callers

nothing calls this directly

Calls 1

selectInputFunction · 0.70

Tested by

no test coverage detected