code: function process(options) {
        var windowSelection = $window.getSelection();
        var range = windowSelection.getRangeAt(0);
  
        var selection = service.Selection(range);
  
        if (options.snapToWord) {
          selection.snapToWord();
        }
  
        if (options.highlight) {
          selection.highlight('<span style="background-color: yellow;"></span>');
        }
  
        return selection;
      }
docs: @mamberOf onselect.RangeService
  @name process
  @param {Options} options the options for processing
  @returns {onselect.Selection} the selection
  
  @description
  Process the current selection (as reported by $window.getSelection()) and create a
  selection object based upon the FIRST range. Apply default behaviors based upon the
  options as well.