           # @reportSelectionProperties('before')
 
     if @isWithOccurrence()
-      @withOccurrence = true
-
       scanRanges = null
       @onWillSelectTarget =>
         if @isMode('visual')

      if markerForTrackChange?
        @setMarkForChange(range) if (range = markerForTrackChange.getBufferRange())

  # @target - TextObject or Motion to operate on.
  setTarget: (@target) ->
    unless _.isFunction(@target.select)
      @vimState.emitter.emit('did-fail-to-set-target')
      throw new OperatorError("#{@getName()} cannot set #{@target.getName()} as target")
    @target.setOperator(this)
    @emitDidSetTarget(this)
    this

  forceWise: (wise) ->
    switch wise
      when 'characterwise'
        if @target.linewise

        @target.linewise = true

  isWithOccurrence: ->
    @withOccurrence

  hasForceWise: ->
    @forceWise?

  # Return true unless all selection is empty.
  # -------------------------
  selectTarget: ->
    @observeSelectAction()

    @emitWillSelectTarget()

    @target.select()
