@Override
      public void focusGained(FocusEvent e) {
        ApplicationManager.getApplication().invokeLater(() -> {
          editor.getTextField().selectAll();
        });
      }
@Override
      public void focusGained(FocusEvent e)