@Override
    public void actionPerformed(@NotNull AnActionEvent e) {
      int linkCount = myEditorPane.getLinkCount();
      if (linkCount <= 0) return;
      highlightLink(myHighlightedLink < 0 ? (linkCount - 1) : (myHighlightedLink + linkCount - 1) % linkCount);
    }
@Override
    public void actionPerformed(@NotNull AnActionEvent e)