@TestOnly
    public @NotNull Map<TextRange, CharSequence> getAffectedFragments() {
      return myAffectedFragments;
    }
@TestOnly
    public @NotNull Map<TextRange, CharSequence> getAffectedFragments()