(cm, line)
| 3917 | } |
| 3918 | |
| 3919 | function getLineStyles(cm, line) { |
| 3920 | if (!line.styles || line.styles[0] != cm.state.modeGen) |
| 3921 | line.styles = highlightLine(cm, line, line.stateAfter = getStateBefore(cm, lineNo(line))); |
| 3922 | return line.styles; |
| 3923 | } |
| 3924 | |
| 3925 | // Lightweight form of highlight -- proceed over this line and |
| 3926 | // update state, but don't save a style array. |
no test coverage detected