 class InputMethod extends EventEmitter
 
     activated: false
-    muteEvent: false
+    mute: false
 
     # raw characters
     inputBuffer: ''

            # we shall leave 1 backslash in the buffer, then deactivate
            @deactivate()

    analysisEvent: (ev) =>

        # see if the text buffer's resized
        range = new Range ev.newTailBufferPosition, ev.newHeadBufferPosition

        if @getRange().compare range isnt 0
            @emit 'resize', range

        unless @mute
            if textBuffer.length is 0
                # got wiped out
                @emit 'deactivate', range
