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

Function Line

samples/common/codehighlight/codemirror.js:1681–1685  ·  view source on GitHub ↗
(text, markedSpans, estimateHeight)

Source from the content-addressed store, hash-verified

1679 // Line objects. These hold state related to a line, including
1680 // highlighting info (the styles array).
1681 var Line = function(text, markedSpans, estimateHeight) {
1682 this.text = text;
1683 attachMarkedSpans(this, markedSpans);
1684 this.height = estimateHeight ? estimateHeight(this) : 1;
1685 };
1686
1687 Line.prototype.lineNo = function () { return lineNo(this) };
1688 eventMixin(Line);

Callers

nothing calls this directly

Calls 2

attachMarkedSpansFunction · 0.85
estimateHeightFunction · 0.85

Tested by

no test coverage detected