     return if not @renameInfo? or
                   @renameInfo.range.start.isEqual @renameInfo.cursor.getCurrentWordBufferRange(includeNonWordCharacters: false).start
 
-    # console.log 'cancel'
-
     # Set cursor position to current position.
     # Stop listening cursor moved event.
     # Destroy cursor info.

    # Execute
    @parse()

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

    refRanges = @ripper.find range
    return false if refRanges.length is 0

    # Save cursor info.
    # Select all references.
    # Listen to cursor moved event.
