             @decorateDiffMarkers(details)
 
     clearMarkers: ->
-        markers = @editor.findMarkers({name: "line-diff"})
-        marker.destroy() for marker in markers
+        for id, marker of @markers
+            marker.destroy()
+            delete @markers[id]
 
     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"})

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

        endPoint = [newEndBufferRow, newEndBufferRowLength]
        marker = null
        messageBubble = null
        marker = @editor.markBufferRange([startPoint, startPoint])
        if details.isRemoving
            messageBubble = new MessageBubble(details.originalContent, =>
                buffer.insert([details.newStart, 0], details.originalContent)
