MCPcopy Create free account
hub / github.com/TruthHun/BookStack / setSimpleSelection

Function setSimpleSelection

static/mergely/lib/codemirror.js:2156–2158  ·  view source on GitHub ↗
(doc, anchor, head, options)

Source from the content-addressed store, hash-verified

2154
2155 // Reset the selection to a single range.
2156 function setSimpleSelection(doc, anchor, head, options) {
2157 setSelection(doc, simpleSelection(anchor, head), options);
2158 }
2159
2160 // Give beforeSelectionChange handlers a change to influence a
2161 // selection update.

Callers 1

codemirror.jsFile · 0.70

Calls 2

setSelectionFunction · 0.70
simpleSelectionFunction · 0.70

Tested by

no test coverage detected