MCPcopy
hub / github.com/nwutils/nw-sample-apps / addGutterMarker

Function addGutterMarker

mini-code-edit/cm/lib/codemirror.js:1470–1475  ·  view source on GitHub ↗
(line, text, className)

Source from the content-addressed store, hash-verified

1468 }
1469
1470 function addGutterMarker(line, text, className) {
1471 if (typeof line == "number") line = getLine(clipLine(line));
1472 line.gutterMarker = {text: text, style: className};
1473 gutterDirty = true;
1474 return line;
1475 }
1476 function removeGutterMarker(line) {
1477 if (typeof line == "number") line = getLine(clipLine(line));
1478 line.gutterMarker = null;

Callers

nothing calls this directly

Calls 2

getLineFunction · 0.85
clipLineFunction · 0.70

Tested by

no test coverage detected