code: function() {
  			if (!this._textView) {
  				return null;
  			}
  			var model = this._textView.getModel();
  			if (model.getBaseModel) {
  				model = model.getBaseModel();
  			}
  			return model;
  		}
docs: Returns the base text model of this editor.
  
  @returns {orion.editor.TextModel}