MCPcopy
hub / github.com/witheve/Eve / setSimpleSelection

Function setSimpleSelection

src/codemirror.js:2161–2163  ·  view source on GitHub ↗
(doc, anchor, head, options)

Source from the content-addressed store, hash-verified

2159
2160 // Reset the selection to a single range.
2161 function setSimpleSelection(doc, anchor, head, options) {
2162 setSelection(doc, simpleSelection(anchor, head), options);
2163 }
2164
2165 // Give beforeSelectionChange handlers a change to influence a
2166 // selection update.

Callers 1

codemirror.jsFile · 0.85

Calls 2

setSelectionFunction · 0.85
simpleSelectionFunction · 0.85

Tested by

no test coverage detected