public static void insertStringAtCaret(@NotNull Editor editor, @NotNull String s) {
    insertStringAtCaret(editor, s, false, true);
  }
public static void insertStringAtCaret(@NotNull Editor editor, @NotNull String s)