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

Function getSelection

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:1021–1023  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1019 return code.join("\n");
1020 }
1021 function getSelection() {
1022 return getRange(sel.from, sel.to);
1023 }
1024
1025 var pollingFast = false; // Ensures slowPoll doesn't cancel fastPoll
1026 function slowPoll() {

Callers 3

onDragStartFunction · 0.85
resetInputFunction · 0.85
onContextMenuFunction · 0.85

Calls 1

getRangeFunction · 0.85

Tested by

no test coverage detected