 
     switch e.keyCode
       when $.ui.keyCode.TAB, $.ui.keyCode.ENTER
-        @set 'wantsCandidates', false
         pv.willAddSelection()
 
         if @get 'hasText'

      when $.ui.keyCode.BACKSPACE
        if !@get 'hasText'
          pv.willRemoveLastSelection()
          @set 'wantsCandidates', false
          e.preventDefault()
      else
        @set 'wantsCandidates', true


    mouseEnter: ->
      @set 'parentView.currentIndex', @get('contentIndex')

    click: ->
      @get('parentView').willAddSelection()

  willAddSelection: ->
    @get('parentView').willAddSelection()

  cycleIndex: (->
    ci = @get 'currentIndex'
