use of com.intellij.xml.breadcrumbs.BreadcrumbsXmlWrapper in project intellij-community by JetBrains.
the class XmlTagTreeHighlightingConfigurable method clearTagTreeHighlighting.
private static void clearTagTreeHighlighting() {
for (Project project : ProjectManager.getInstance().getOpenProjects()) {
for (FileEditor fileEditor : FileEditorManager.getInstance(project).getAllEditors()) {
if (fileEditor instanceof TextEditor) {
final Editor editor = ((TextEditor) fileEditor).getEditor();
XmlTagTreeHighlightingPass.clearHighlightingAndLineMarkers(editor, project);
final BreadcrumbsXmlWrapper breadcrumbsXmlWrapper = BreadcrumbsXmlWrapper.getBreadcrumbsComponent(editor);
if (breadcrumbsXmlWrapper != null) {
breadcrumbsXmlWrapper.queueUpdate();
}
}
}
}
}
Aggregations