 
   reset: ->
     @name = null
-    @vimState.toggleClassList('with-register', @name?)
+    @editorElement.classList.toggle('with-register', false)
 
   destroy: ->
     @subscriptionBySelection.forEach (disposable) ->

      'linewise'
    else
      'characterwise'

module.exports = RegisterManager


  setName: (@name) ->
    if @name?
      @editorElement.classList.toggle('with-register', true)
      @vimState.hover.set('"' + @name)
    else
      @vimState.hover.set('"')
