 {$, View} = require "atom-space-pen-views"
 
 class LineDiffWorker
+    markers: {}
+    
     registerEditor: (@editor) ->
         @editor.editorElement.onDidChangeScrollTop @update
         @editor.onDidStopChanging @update

            @decorateDiffMarkers(details)

    clearMarkers: ->
        markers = @editor.findMarkers({name: "line-diff"})
        marker.destroy() for marker in markers

    decorateDiffMarkers: (details) ->
        startPoint = [details.newStart - 1, 0]

                @editor.setTextInBufferRange([startPoint, endPoint], details.originalContent.slice(0, -1))
            )
        @editor.decorateMarker(marker, {type: "overlay", item: messageBubble, position: "tail"})
        @markers[marker.id] = marker

    findFileDiffs: ->
        activePath = @editor.getPath()
