MCPcopy Index your code
hub / github.com/DHTMLX/gantt / setSelection

Function setSelection

samples/common/codehighlight/codemirror.js:5108–5111  ·  view source on GitHub ↗
(doc, sel, options)

Source from the content-addressed store, hash-verified

5106
5107 // Set a new selection.
5108 function setSelection(doc, sel, options) {
5109 setSelectionNoUndo(doc, sel, options);
5110 addSelectionToHistory(doc, doc.sel, doc.cm ? doc.cm.curOp.id : NaN, options);
5111 }
5112
5113 function setSelectionNoUndo(doc, sel, options) {
5114 if (hasHandler(doc, "beforeSelectionChange") || doc.cm && hasHandler(doc.cm, "beforeSelectionChange"))

Callers 10

extendSelectionFunction · 0.85
extendSelectionsFunction · 0.85
replaceOneSelectionFunction · 0.85
setSimpleSelectionFunction · 0.85
makeChangeFromHistoryFunction · 0.85
DocFunction · 0.85
codemirror.jsFile · 0.85
leftButtonSelectFunction · 0.85
extendToFunction · 0.85

Calls 2

setSelectionNoUndoFunction · 0.85
addSelectionToHistoryFunction · 0.85

Tested by

no test coverage detected