 
     @disposable.add atom.commands.add @log_find.element, 'core:confirm', =>
       @do_find()
+
+    # console.log "emiter on"
+    # @disposable.add @emitter.on 'did-lua-debug-log-stdout', (output) =>
+    #   console.log "----------------------------"
+    #   console.log output
 
     # @test()
   dispose: ->



  initialize: ()->
    @oLogMaps = new EMPLogMaps()
    @line_number = 1
    @history = new Array()

    @test()

  test: ->
    @store_log("test", "#ert#\nasdasd `    asda;")
    @store_log("test", "#ert#------\nasdasd\n\n test functione longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglong---")
    @store_log("test", "#ert1#------\nasdasd\n\n test longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglong msg")
    @store_log("test", "#ert1#------\nasdasd\n\n test functione")
    @store_log("test", "------\nasdasd\n\n test functione")
    @store_log("test", "------\nasdasd\n\n test functione")
