protected final void replace(@NotNull TextRange range, @NotNull String text) {
    myUpdates.add(new Modification(range, text));
  }
protected final void replace(@NotNull TextRange range, @NotNull String text)