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

Function simpleSelection

tools/pythonauto/static/codemirrorepl/codemirror.js:1013–1015  ·  view source on GitHub ↗
(anchor, head)

Source from the content-addressed store, hash-verified

1011 }
1012
1013 function simpleSelection(anchor, head) {
1014 return new Selection([new Range(anchor, head || anchor)], 0);
1015 }
1016
1017 // Most of the external API clips given positions to make sure they
1018 // actually exist within the document.

Callers 5

setSimpleSelectionFunction · 0.85
loadFileFunction · 0.85
onDropFunction · 0.85
onContextMenuFunction · 0.85
codemirror.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected