docs: function(lineDelimiter, all) {
  			if (lineDelimiter === "auto") {
  				lineDelimiter = undefined;
  				if (this.getLineCount() > 1) {
  					lineDelimiter = this.getText(this.getLineEnd(0), this.getLineEnd(0, true));
  				}
  			}
  			this._lineDelimiter = lineDelimiter ? lineDelimiter : util.platformDelimiter;
  			if (all) {
  				var lineCount = this.getLineCount();
  				if (lineCount > 1) {
  					var lines = new Array(lineCount);
  					for (var i=0; i<lineCount; i++) {
  						lines[i] = this.getLine(i);
  					}
  					this.setText(lines.join(this._lineDelimiter));
  				}
  			}
  		}