code: function(startLine, endLine, partial) {
  			if (!this.mode) {
  				return;
  			}
  			var lineCount = this.model.getLineCount();
  			startLine = typeof startLine === "undefined" ? 0 : startLine;
  			endLine = typeof endLine === "undefined" ? lineCount - 1 : Math.min(endLine, lineCount - 1);
  			var mode = this.mode;
  			var state = this.getState(startLine);
  			for (var i = startLine; i <= endLine; i++) {
  				var line = this.lines[i];
  				this.highlightLine(i, line, state);
  				line.eolState = this.codeMirror.copyState(mode, state);
  			}
  //			console.debug("Highlighted " + startLine + " to " + endLine);
  			this._expandRange(startLine, endLine);
  			if (!partial) {
  				this.onHighlightDone();
  			}
  		}
docs: Highlights the given range of lines.
  @param {Number} [startLine]
  @param {Number} [endLine]
  @param {Boolean} [partial=false] If <code>true</code>, this function is assumed to be running as part of a larger
  operation, and will not dispatch a {@link #event:HighlightEvent}.