MCPcopy Index your code
hub / github.com/csev/py4e / setSelectionInner

Function setSelectionInner

tools/pythonauto/static/codemirrorepl/codemirror.js:1138–1147  ·  view source on GitHub ↗
(doc, sel)

Source from the content-addressed store, hash-verified

1136 }
1137
1138 function setSelectionInner(doc, sel) {
1139 if (sel.equals(doc.sel)) return;
1140
1141 doc.sel = sel;
1142
1143 if (doc.cm)
1144 doc.cm.curOp.updateInput = doc.cm.curOp.selectionChanged =
1145 doc.cm.curOp.cursorActivity = true;
1146 signalLater(doc, "cursorActivity", doc);
1147 }
1148
1149 // Verify that the selection does not partially select any atomic
1150 // marked ranges.

Callers 2

setSelectionNoUndoFunction · 0.85
reCheckSelectionFunction · 0.85

Calls 1

signalLaterFunction · 0.70

Tested by

no test coverage detected