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

Function endOperation_R1

samples/common/codehighlight/codemirror.js:3817–3828  ·  view source on GitHub ↗
(op)

Source from the content-addressed store, hash-verified

3815 }
3816
3817 function endOperation_R1(op) {
3818 var cm = op.cm, display = cm.display;
3819 maybeClipScrollbars(cm);
3820 if (op.updateMaxLine) { findMaxLine(cm); }
3821
3822 op.mustUpdate = op.viewChanged || op.forceUpdate || op.scrollTop != null ||
3823 op.scrollToPos && (op.scrollToPos.from.line < display.viewFrom ||
3824 op.scrollToPos.to.line >= display.viewTo) ||
3825 display.maxLineChanged && cm.options.lineWrapping;
3826 op.update = op.mustUpdate &&
3827 new DisplayUpdate(cm, op.mustUpdate && {top: op.scrollTop, ensure: op.scrollToPos}, op.forceUpdate);
3828 }
3829
3830 function endOperation_W1(op) {
3831 op.updatedDisplay = op.mustUpdate && updateDisplayIfNeeded(op.cm, op.update);

Callers 1

endOperationsFunction · 0.85

Calls 2

maybeClipScrollbarsFunction · 0.85
findMaxLineFunction · 0.85

Tested by

no test coverage detected