@ApiStatus.Internal
  public static @NotNull TextRange insertStringAtCaret(@NotNull Editor editor, @NotNull String text) {
    return insertStringAtCaret(editor, text, false);
  }
@ApiStatus.Internal
  public static @NotNull TextRange insertStringAtCaret(@NotNull Editor editor, @NotNull String text)