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

Function startOperation

tools/pythonauto/static/codemirror/codemirror.js:1359–1375  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

1357
1358 var nextOpId = 0;
1359 function startOperation(cm) {
1360 cm.curOp = {
1361 // An array of ranges of lines that have to be updated. See
1362 // updateDisplay.
1363 changes: [],
1364 forceUpdate: false,
1365 updateInput: null,
1366 userSelChange: null,
1367 textChanged: null,
1368 selectionChanged: false,
1369 cursorActivity: false,
1370 updateMaxLine: false,
1371 updateScrollPos: false,
1372 id: ++nextOpId
1373 };
1374 if (!delayedCallbackDepth++) delayedCallbacks = [];
1375 }
1376
1377 function endOperation(cm) {
1378 var op = cm.curOp, doc = cm.doc, display = cm.display;

Callers 6

operationFunction · 0.70
docOperationFunction · 0.70
runInOpFunction · 0.70
readInputFunction · 0.70
codemirror.jsFile · 0.70
widgetOperationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected