@Override
  public void replaceText(@NotNull CharSequence chars, long newModificationStamp) {
    setText(chars);
    myDelegate.setModificationStamp(newModificationStamp);
  }
@Override
  public void replaceText(@NotNull CharSequence chars, long newModificationStamp)