     # Execute
     @parse()
 
-  inactivate: ->
+  deactivate: ->
     # Stop listening
     @editorView.off 'cursor:moved', @onCursorMoved
     @editor.off 'destroyed', @onDestroyed


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

    delete @editorView

    return if not @renameInfo? or
                  @renameInfo.range.start.isEqual @renameInfo.cursor.getCurrentWordBufferRange(includeNonWordCharacters: false).start

    # Set cursor position to current position.
    # Stop listening cursor moved event.
    # Destroy cursor info.
