code: function(delimiter) {
  			var text = [];
  			var that = this;
  			var selections = this._getSelections();
  			selections.forEach(function(selection) {
  				if (!selection.isEmpty()) {
  					text.push(that._getBaseText(selection.start, selection.end));
  				}
  			});
  			return text.join(delimiter !== undefined ? delimiter : this._model.getLineDelimiter());
  		}
docs: Returns the text view selection text.
  <p>
  If there are multiple selection ranges, the result is concatenated with the specified delimiter.
  </p>
  
  @param {String} delimiter The offset into the editor
  @returns {String} the view selection text
  @since 10.0
  @see orion.editor.TextView#setSelection