     outputBuffer: ''
     # mark the starting position of the input buffer when activated
     startPosition: null
-
 
     @trie: require './input-method/keymap.js'
 

        if not @activated


            @startPosition = @core.editor.getCursorBufferPosition()
            log 'IM', 'activated'
            @inputBuffer = ''
            @outputBuffer = ''
            @activated = true
            @decorator.show()

            # monitors raw text buffer and figures out what happend
            @textBufferMarker = @core.editor.markBufferRange(new Range @startPosition, @startPosition)
            @textBufferMarker.on 'changed', @analysisEvent

            # insert '\' at the cursor
            @updateOutputBuffer '\\'

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

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