fix (pathbar): do not display breadcrumbs if empty
fix(pathbar): update the condition to display the pathbar
feature: add document by line support