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

Function addMarkedSpan

tools/pythonauto/static/codemirror/codemirror.js:4072–4075  ·  view source on GitHub ↗
(line, span)

Source from the content-addressed store, hash-verified

4070 return r;
4071 }
4072 function addMarkedSpan(line, span) {
4073 line.markedSpans = line.markedSpans ? line.markedSpans.concat([span]) : [span];
4074 span.marker.attachLine(line);
4075 }
4076
4077 function markedSpansBefore(old, startCh, isInsert) {
4078 if (old) for (var i = 0, nw; i < old.length; ++i) {

Callers 1

markTextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected