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

Function getLineContent

samples/common/codehighlight/codemirror.js:2131–2139  ·  view source on GitHub ↗
(cm, lineView)

Source from the content-addressed store, hash-verified

2129 // Wrapper around buildLineContent which will reuse the structure
2130 // in display.externalMeasured when possible.
2131 function getLineContent(cm, lineView) {
2132 var ext = cm.display.externalMeasured;
2133 if (ext && ext.line == lineView.line) {
2134 cm.display.externalMeasured = null;
2135 lineView.measure = ext.measure;
2136 return ext.built
2137 }
2138 return buildLineContent(cm, lineView)
2139 }
2140
2141 // Redraw the line's text. Interacts with the background and text
2142 // classes because the mode may output tokens that influence these

Callers 2

updateLineTextFunction · 0.85
buildLineElementFunction · 0.85

Calls 1

buildLineContentFunction · 0.85

Tested by

no test coverage detected