@Override
      public void highlightingFinished(final @NotNull DomFileElement element) {
        ApplicationManager.getApplication().invokeLater(() -> {
          if (getComponent().isShowing() && element.isValid()) {
            updateHighlighting();
          }
        });
      }
@Override
      public void highlightingFinished(final @NotNull DomFileElement element)