private void updateAutoscroll() {
    if (isActiveTab() && (isNotNullAndSelected(getAutoscrollToSource()) || isNotNullAndSelected(getOpenInPreviewTab()))) {
      invokeLater(() -> {
        Node node = getSelectedNode();
        Navigatable navigatable = node == null ? null : node.getNavigatable();
        if (navigatable != null && navigatable.canNavigateToSource()) {
          try (AccessToken ignored = ClientId.withClientId(mySession.getClientId())) {
            navigate(false, navigatable);
          }
        }
      });
    }
  }
private void updateAutoscroll()