     true
 
   abort: =>
+    d 'abort'
     # When this editor isn't active, do nothing.
     return unless @isActive() and @renamingCursor? and @renamingMarkers?
 

    @moduleManager.on 'changed', @verifyGrammar

  destruct: =>
    @removeAllListeners()
    @deactivate()
    #@editor.off 'grammar-changed', @verifyGrammar

{ EventEmitter2 } = require 'eventemitter2'
d = (require 'debug') 'refactor:watcher'

module.exports =
class Watcher extends EventEmitter2

  constructor: (@moduleManager, @editor) ->
    d 'constructor'
    super()
    #@editor.on 'grammar-changed', @verifyGrammar

