(cm, text, context, startAt)
| 2590 | // update state, but don't save a style array. Used for lines that |
| 2591 | // aren't currently visible. |
| 2592 | function processLine(cm, text, context, startAt) { |
| 2593 | var mode = cm.doc.mode |
| 2594 | var stream = new StringStream(text, cm.options.tabSize, context) |
| 2595 | stream.start = stream.pos = startAt || 0 |
| 2596 | if (text == "") { |
| 2597 | callBlankLine(mode, context.state) |
| 2598 | } |
| 2599 | while (!stream.eol()) { |
| 2600 | readToken(mode, stream, context.state) |
| 2601 | stream.start = stream.pos |
| 2602 | } |
| 2603 | } |
| 2604 | |
| 2605 | function callBlankLine(mode, state) { |
| 2606 | if (mode.blankLine) { |
no test coverage detected