code: function (options) {
  			var defaultOptions = this._defaultOptions();
  			for (var option in options) {
  				if (options.hasOwnProperty(option)) {
  					var newValue = options[option], oldValue = this["_" + option]; //$NON-NLS-1$
  					if (compare(oldValue, newValue)) { continue; }
  					var update = defaultOptions[option] ? defaultOptions[option].update : null;
  					if (update) {
  						update.call(this, newValue);
  						continue;
  					}
  					this["_" + option] = clone(newValue); //$NON-NLS-1$
  				}
  			}
  			this.onOptions({type: "Options", options: options}); //$NON-NLS-1$
  		}
docs: Sets the view options for the view.
  
  @param {orion.editor.TextViewOptions} options the view options.
  
  @see orion.editor.TextView#getOptions