     ###
     deactivate: () ->
         @subAtom.dispose()
+        for key,marker of allMarkers
+            marker.destroy()
 
     ###*
      * Goto the class the cursor is on

    registerEvents: (editor) ->
        if editor.getGrammar().scopeName.match /text.html.php$/
            textEditorElement = atom.views.getView(editor)
            eventSelectors = '.inherited-class, .support.namespace, .support.class'
            scrollViewElement = $($(textEditorElement)[0].shadowRoot).find('.scroll-view')

            @subAtom.add scrollViewElement, 'mousemove', eventSelectors, (event) =>
                if event.altKey == false
                    return
                selector = @getSelector(event)

        @subAtom = new SubAtom
        self = this
        atom.workspace.observeTextEditors (editor) ->
            self.parseComments editor
            self.registerEvents editor

        # When you go back to only have 1 pane the events are lost, so need
