@ApiStatus.Internal
  public @NotNull TextAttributes getBreakAttributes(boolean beforeBreak) {
    TextAttributes attributes = new TextAttributes();
    setAttributes(attributes, true, beforeBreak);
    return attributes;
  }
@ApiStatus.Internal
  public @NotNull TextAttributes getBreakAttributes(boolean beforeBreak)