MCPcopy Index your code
hub / github.com/csev/py4e / lineIsHidden

Function lineIsHidden

tools/pythonauto/static/codemirror/codemirror.js:4274–4284  ·  view source on GitHub ↗
(doc, line)

Source from the content-addressed store, hash-verified

4272 }
4273
4274 function lineIsHidden(doc, line) {
4275 var sps = sawCollapsedSpans && line.markedSpans;
4276 if (sps) for (var sp, i = 0; i < sps.length; ++i) {
4277 sp = sps[i];
4278 if (!sp.marker.collapsed) continue;
4279 if (sp.from == null) return true;
4280 if (sp.marker.replacedWith) continue;
4281 if (sp.from == 0 && sp.marker.inclusiveLeft && lineIsHiddenInner(doc, line, sp))
4282 return true;
4283 }
4284 }
4285 function lineIsHiddenInner(doc, line, span) {
4286 if (span.to == null) {
4287 var end = span.marker.find().to, endLine = getLine(doc, end.line);

Callers 7

estimateHeightFunction · 0.70
updateDisplayInnerFunction · 0.70
patchDisplayFunction · 0.70
codemirror.jsFile · 0.70
markTextFunction · 0.70
addLineWidgetFunction · 0.70
buildLineContentFunction · 0.70

Calls 1

lineIsHiddenInnerFunction · 0.70

Tested by

no test coverage detected