     ,[]
     if dashboard
         dashboard.setFiles(files, addLabelDecoration) # TODO remove addLabelDecoration from here. This is hack
-
+        
     atom.notifications.addSuccess("#{files && files.length} files have been indexed.")
     document.getElementById('lupa-index-project-wrapper').style.display = 'none';
 

    })
    plugin.invalidate(f)
    plugin.process(f).subscribe(update1)

doc.getElementById('lupa-refresh').addEventListener('click', refresh)

update1 = ->


    if !editor
        return

    # breadcrumbs
    if editor.metadata && shouldShowBreadcrumbs
        pos = editor.getCursorBufferPosition()
        pos.row += 1
