public static @NotNull TemplateDataModifications fromRangeToRemove(int startOffset, @NotNull CharSequence textToInsert) {
    TemplateDataModifications modifications = new TemplateDataModifications();
    modifications.addRangeToRemove(startOffset, textToInsert);
    return modifications;
  }
public static @NotNull TemplateDataModifications fromRangeToRemove(int startOffset, @NotNull CharSequence textToInsert)