(cm, line)
| 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. |
no test coverage detected