use of com.intellij.codeInsight.daemon.impl.HighlightInfoFilter.EXTENSION_POINT_NAME in project intellij-plugins by JetBrains.
the class FlexHighlightingTest method suppressXmlNSAnnotator.
private void suppressXmlNSAnnotator() {
HighlightInfoFilter filter = (info, file) -> info.forcedTextAttributesKey != XmlHighlighterColors.XML_NS_PREFIX;
Extensions.getRootArea().getExtensionPoint(EXTENSION_POINT_NAME).registerExtension(filter);
Disposer.register(getTestRootDisposable(), () -> Extensions.getRootArea().getExtensionPoint(EXTENSION_POINT_NAME).unregisterExtension(filter));
}
Aggregations