     refRanges = @ripper.find range
     return false if refRanges.length is 0
 
-    # console.log 'rename', @editor.getTitle()
-
     # Save cursor info.
     # Select all references.
     # Listen to cursor moved event.


  destruct: =>
    @removeAllListeners()
    @inactivate()
    @editor.off 'grammar-changed', @checkGrammar

    delete @editorView

    # Execute
    @parse()

  deactivate: ->
    # Stop listening
    @editorView.off 'cursor:moved', @onCursorMoved
    @editor.off 'destroyed', @onDestroyed
