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

Function getLineStyles

tools/pythonauto/static/codemirror/codemirror.js:4482–4486  ·  view source on GitHub ↗
(cm, line)

Source from the content-addressed store, hash-verified

4480 }
4481
4482 function getLineStyles(cm, line) {
4483 if (!line.styles || line.styles[0] != cm.state.modeGen)
4484 line.styles = highlightLine(cm, line, line.stateAfter = getStateBefore(cm, lineNo(line)));
4485 return line.styles;
4486 }
4487
4488 // Lightweight form of highlight -- proceed over this line and
4489 // update state, but don't save a style array.

Callers 2

codemirror.jsFile · 0.70
buildLineContentFunction · 0.70

Calls 3

highlightLineFunction · 0.70
getStateBeforeFunction · 0.70
lineNoFunction · 0.70

Tested by

no test coverage detected