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

Function endOperations

src/codemirror.js:3070–3082  ·  view source on GitHub ↗
(group)

Source from the content-addressed store, hash-verified

3068 // The DOM updates done when an operation finishes are batched so
3069 // that the minimum number of relayouts are required.
3070 function endOperations(group) {
3071 var ops = group.ops;
3072 for (var i = 0; i < ops.length; i++) // Read DOM
3073 endOperation_R1(ops[i]);
3074 for (var i = 0; i < ops.length; i++) // Write DOM (maybe)
3075 endOperation_W1(ops[i]);
3076 for (var i = 0; i < ops.length; i++) // Read DOM
3077 endOperation_R2(ops[i]);
3078 for (var i = 0; i < ops.length; i++) // Write DOM (maybe)
3079 endOperation_W2(ops[i]);
3080 for (var i = 0; i < ops.length; i++) // Read DOM
3081 endOperation_finish(ops[i]);
3082 }
3083
3084 function endOperation_R1(op) {
3085 var cm = op.cm, display = cm.display;

Callers 1

endOperationFunction · 0.85

Calls 5

endOperation_R1Function · 0.85
endOperation_W1Function · 0.85
endOperation_R2Function · 0.85
endOperation_W2Function · 0.85
endOperation_finishFunction · 0.85

Tested by

no test coverage detected