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

Function setLineClass

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:1691–1699  ·  view source on GitHub ↗
(handle, className, bgClassName)

Source from the content-addressed store, hash-verified

1689 return line;
1690 }
1691 function setLineClass(handle, className, bgClassName) {
1692 return changeLine(handle, function(line) {
1693 if (line.className != className || line.bgClassName != bgClassName) {
1694 line.className = className;
1695 line.bgClassName = bgClassName;
1696 return true;
1697 }
1698 });
1699 }
1700 function setLineHidden(handle, hidden) {
1701 return changeLine(handle, function(line, no) {
1702 if (line.hidden != hidden) {

Callers

nothing calls this directly

Calls 1

changeLineFunction · 0.70

Tested by

no test coverage detected