Mercurial > vim
view src/proto/edit.pro @ 15089:e428882d6ffb v8.1.0555
patch 8.1.0555: crash when last search pat is set but not last substitute pat
commit https://github.com/vim/vim/commit/2fb8f684d888ad68b283ba8f9505106b5fb725be
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 1 13:14:45 2018 +0100
patch 8.1.0555: crash when last search pat is set but not last substitute pat
Problem: Crash when last search pat is set but not last substitute pat.
Solution: Do not mix up last search pattern and last subtitute pattern.
(closes #3647)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Dec 2018 13:15:04 +0100 |
parents | 3a94f7918980 |
children | 2d941023bd2f |
line wrap: on
line source
/* edit.c */ int edit(int cmdchar, int startln, long count); void edit_putchar(int c, int highlight); char_u *prompt_text(void); int prompt_curpos_editable(void); void edit_unputchar(void); void display_dollar(colnr_T col); void change_indent(int type, int amount, int round, int replaced, int call_changed_bytes); void truncate_spaces(char_u *line); void backspace_until_column(int col); int ctrl_x_mode_not_default(void); int ctrl_x_mode_not_defined_yet(void); int vim_is_ctrl_x_key(int c); int ins_compl_add_infercase(char_u *str, int len, int icase, char_u *fname, int dir, int flags); void completeopt_was_set(void); void set_completion(colnr_T startcol, list_T *list); void ins_compl_show_pum(void); char_u *find_word_start(char_u *ptr); char_u *find_word_end(char_u *ptr); int ins_compl_active(void); int ins_compl_add_tv(typval_T *tv, int dir); void ins_compl_check_keys(int frequency, int in_compl_func); int get_literal(void); void insertchar(int c, int flags, int second_indent); void auto_format(int trailblank, int prev_line); int comp_textwidth(int ff); int stop_arrow(void); void set_last_insert(int c); void free_last_insert(void); char_u *add_char2buf(int c, char_u *s); void beginline(int flags); int oneright(void); int oneleft(void); int cursor_up(long n, int upd_topline); int cursor_down(long n, int upd_topline); int stuff_inserted(int c, long count, int no_esc); char_u *get_last_insert(void); char_u *get_last_insert_save(void); void replace_push(int c); int replace_push_mb(char_u *p); void fixthisline(int (*get_the_indent)(void)); void fix_indent(void); int in_cinkeys(int keytyped, int when, int line_is_empty); int hkmap(int c); int bracketed_paste(paste_mode_T mode, int drop, garray_T *gap); void ins_scroll(void); void ins_horscroll(void); int ins_copychar(linenr_T lnum); colnr_T get_nolist_virtcol(void); /* vim: set ft=c : */