public static void typeInStringAtCaretHonorMultipleCarets(@NotNull Editor editor, @NotNull String str) {
    typeInStringAtCaretHonorMultipleCarets(editor, str, true, str.length());
  }
public static void typeInStringAtCaretHonorMultipleCarets(@NotNull Editor editor, @NotNull String str)