@Override
  public void setText(@NlsContexts.Label String text) {
    super.setText(text);
    if (myEditorPane != null) {
      myEditorPane.setText(getText());
      updateEditorPaneStyle();
      checkMultiline();
      updateTextAlignment();
    }
  }
@Override
  public void setText(@NlsContexts.Label String text)