MCPcopy Index your code
hub / github.com/witheve/Eve / endOperation

Function endOperation

src/codemirror.js:3055–3066  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

3053
3054 // Finish an operation, updating the display and signalling delayed events
3055 function endOperation(cm) {
3056 var op = cm.curOp, group = op.ownsGroup;
3057 if (!group) return;
3058
3059 try { fireCallbacksForOps(group); }
3060 finally {
3061 operationGroup = null;
3062 for (var i = 0; i < group.ops.length; i++)
3063 group.ops[i].cm.curOp = null;
3064 endOperations(group);
3065 }
3066 }
3067
3068 // The DOM updates done when an operation finishes are batched so
3069 // that the minimum number of relayouts are required.

Callers 6

CodeMirrorFunction · 0.85
runInOpFunction · 0.85
operationFunction · 0.85
methodOpFunction · 0.85
docMethodOpFunction · 0.85
codemirror.jsFile · 0.85

Calls 2

fireCallbacksForOpsFunction · 0.85
endOperationsFunction · 0.85

Tested by

no test coverage detected