bundles/org.eclipse.orion.client.editor/web/orion/editor/editor.js
function() {
			if (!this._textView) {
				return null;
			}
			var model = this._textView.getModel();
			if (model.getBaseModel) {
				model = model.getBaseModel();
			}
			return model;
		}
function() {
			if (!this._textView) {
				return null;
			}
			var model = this._textView.getModel();
			if (model.getBaseModel) {
				model = model.getBaseModel();
			}
			return model;
		}
function ( ) { if ( ! this . _textView ) { return null ; } var model = this . _textView . getModel ( ) ; if ( model . getBaseModel ) { model = model . getBaseModel ( ) ; } return model ; }
Returns the base text model of this editor.

@returns {orion.editor.TextModel}
Returns the base text model of this editor .