@Override
  public void append(@NotNull @Nls String fragment, @NotNull SimpleTextAttributes attributes) {
    myTexts.add(fragment);
    myCachedToString = null;
    myAttributes.add(attributes);
  }
@Override
  public void append(@NotNull @Nls String fragment, @NotNull SimpleTextAttributes attributes)