code: function(lineIndex, includeDelimiter) {
  			var lineCount = this.getLineCount();
  			if (!(0 <= lineIndex && lineIndex < lineCount)) {
  				return null;
  			}
  			var start = this._lineOffsets[lineIndex];
  			if (lineIndex + 1 < lineCount) {
  				var text = this.getText(start, this._lineOffsets[lineIndex + 1]);
  				if (includeDelimiter) {
  					return text;
  				}
  				var end = text.length, c;
  				while (((c = text.charCodeAt(end - 1)) === 10) || (c === 13)) {
  					end--;
  				}
  				return text.substring(0, end);
  			} else {
  				return this.getText(start); 
  			}
  		}
docs: Returns the text of the line at the given index.
  <p>
  The valid indices are 0 to line count exclusive.  Returns <code>null</code>
  if the index is out of range.
  </p>
  
  @param {Number} lineIndex the zero based index of the line.
  @param {Boolean} [includeDelimiter=false] whether or not to include the line delimiter.
  @returns {String} the line text or <code>null</code> if out of range.
  
  @see orion.editor.TextModel#getLineAtOffset