code: function(title, message, contents, contentsSaved) {
  			this._title = title;
  			if (!contentsSaved) {
  				if (message) {
  					this.reportStatus(message, "error"); //$NON-NLS-0$
  				} else {
  					if (contents !== null && contents !== undefined) {
  						if (typeof contents === "string") { //$NON-NLS-0$
  							this._setModelText(contents);
  						}
  						if (this._undoStack) {
  							this._undoStack.reset();
  						}
  					}
  				}
  			}
  			this.checkDirty();
  			this.onInputChanged({
  				type: "InputChanged", //$NON-NLS-0$
  				title: title,
  				message: message,
  				contents: contents,
  				contentsSaved: contentsSaved
  			});
  		}
docs: Sets the editor's contents.
  
  @param {String} title the editor title
  @param {String} message an error message
  @param {String} contents the editor contents
  @param {Boolean} contentsSaved whether the editor contents was saved.