MCPcopy Create free account
hub / github.com/breck7/scroll / setSimpleSelection

Function setSimpleSelection

external/.scrollLibs.js:6915–6917  ·  view source on GitHub ↗
(doc, anchor, head, options)

Source from the content-addressed store, hash-verified

6913
6914 // Reset the selection to a single range.
6915 function setSimpleSelection(doc, anchor, head, options) {
6916 setSelection(doc, simpleSelection(anchor, head), options)
6917 }
6918
6919 // Give beforeSelectionChange handlers a change to influence a
6920 // selection update.

Callers 1

.scrollLibs.jsFile · 0.85

Calls 2

setSelectionFunction · 0.85
simpleSelectionFunction · 0.85

Tested by

no test coverage detected