@Override
  public final void append(@NotNull @Nls String fragment, final @NotNull SimpleTextAttributes attributes) {
    append(fragment, attributes, myMainTextLastIndex < 0);
  }
@Override
  public final void append(@NotNull @Nls String fragment, final @NotNull SimpleTextAttributes attributes)