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

Function addGutterMarker

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:1670–1675  ·  view source on GitHub ↗
(line, text, className)

Source from the content-addressed store, hash-verified

1668 }
1669
1670 function addGutterMarker(line, text, className) {
1671 if (typeof line == "number") line = getLine(clipLine(line));
1672 line.gutterMarker = {text: text, style: className};
1673 gutterDirty = true;
1674 return line;
1675 }
1676 function removeGutterMarker(line) {
1677 if (typeof line == "number") line = getLine(clipLine(line));
1678 line.gutterMarker = null;

Callers

nothing calls this directly

Calls 2

getLineFunction · 0.70
clipLineFunction · 0.70

Tested by

no test coverage detected