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

Function setSelectionInner

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

Source from the content-addressed store, hash-verified

5123 }
5124
5125 function setSelectionInner(doc, sel) {
5126 if (sel.equals(doc.sel)) { return }
5127
5128 doc.sel = sel;
5129
5130 if (doc.cm) {
5131 doc.cm.curOp.updateInput = 1;
5132 doc.cm.curOp.selectionChanged = true;
5133 signalCursorActivity(doc.cm);
5134 }
5135 signalLater(doc, "cursorActivity", doc);
5136 }
5137
5138 // Verify that the selection does not partially select any atomic
5139 // marked ranges.

Callers 2

setSelectionNoUndoFunction · 0.85
reCheckSelectionFunction · 0.85

Calls 2

signalCursorActivityFunction · 0.85
signalLaterFunction · 0.85

Tested by

no test coverage detected