MCPcopy Create free account
hub / github.com/DHTMLX/gantt / setSimpleSelection

Function setSimpleSelection

samples/common/codehighlight/codemirror.js:5074–5076  ·  view source on GitHub ↗
(doc, anchor, head, options)

Source from the content-addressed store, hash-verified

5072
5073 // Reset the selection to a single range.
5074 function setSimpleSelection(doc, anchor, head, options) {
5075 setSelection(doc, simpleSelection(anchor, head), options);
5076 }
5077
5078 // Give beforeSelectionChange handlers a change to influence a
5079 // selection update.

Callers 1

codemirror.jsFile · 0.85

Calls 2

setSelectionFunction · 0.85
simpleSelectionFunction · 0.85

Tested by

no test coverage detected