public static void selectHighlighterIfVisible(@NotNull Project project, @NotNull RangeHighlighterEx highlighter) {
    Content selectedContent = getSelectedContent(project);
    HighlightingPanel panel = getSelectedHighlightingPanel(selectedContent);
    if (panel != null && panel.isShowing()) panel.selectHighlighter(highlighter);
  }
public static void selectHighlighterIfVisible(@NotNull Project project, @NotNull RangeHighlighterEx highlighter)