(start, end)
| 1999 | return state; |
| 2000 | } |
| 2001 | function highlightLines(start, end) { |
| 2002 | var state = getStateBefore(start); |
| 2003 | doc.iter(start, end, function(line) { |
| 2004 | line.highlight(mode, state, options.tabSize); |
| 2005 | line.stateAfter = copyState(mode, state); |
| 2006 | }); |
| 2007 | } |
| 2008 | function highlightWorker() { |
| 2009 | var end = +new Date + options.workTime; |
| 2010 | var foundWork = work.length; |
no test coverage detected