(cm, line, state)
| 3925 | // Lightweight form of highlight -- proceed over this line and |
| 3926 | // update state, but don't save a style array. |
| 3927 | function processLine(cm, line, state) { |
| 3928 | var mode = cm.doc.mode; |
| 3929 | var stream = new StringStream(line.text, cm.options.tabSize); |
| 3930 | if (line.text == "" && mode.blankLine) mode.blankLine(state); |
| 3931 | while (!stream.eol() && stream.pos <= 5000) { |
| 3932 | mode.token(stream, state); |
| 3933 | stream.start = stream.pos; |
| 3934 | } |
| 3935 | } |
| 3936 | |
| 3937 | var styleToClassCache = {}; |
| 3938 | function styleToClass(style) { |
no outgoing calls
no test coverage detected