MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / simpleSelection

Function simpleSelection

lib/web/CodeMirror/src/model/selection.js:82–84  ·  view source on GitHub ↗
(anchor, head)

Source from the content-addressed store, hash-verified

80}
81
82export function simpleSelection(anchor, head) {
83 return new Selection([new Range(anchor, head || anchor)], 0)
84}

Callers 7

DocFunction · 0.90
Doc.jsFile · 0.90
setSimpleSelectionFunction · 0.90
pollSelectionMethod · 0.90
onContextMenuMethod · 0.90
onDropFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected