@Override
    public void append(@NotNull String fragment, @NotNull SimpleTextAttributes attributes) {
      if (!fragment.isEmpty()) isEmpty = false;
    }
@Override
    public void append(@NotNull String fragment, @NotNull SimpleTextAttributes attributes)