Mercurial > vim
view src/proto/digraph.pro @ 25901:f48c435bd1df v8.2.3484
patch 8.2.3484: crash when going through spell suggestions
Commit: https://github.com/vim/vim/commit/e275ba4fc994474155fbafe8b87a6d3b477456ba
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 6 13:41:07 2021 +0100
patch 8.2.3484: crash when going through spell suggestions
Problem: Crash when going through spell suggestions.
Solution: Limit the text length for finding suggestions to the original
length. Do not update buffers when exiting. (closes #8965)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 06 Oct 2021 14:45:03 +0200 |
parents | 0082503ff2ff |
children |
line wrap: on
line source
/* digraph.c */ int do_digraph(int c); char_u *get_digraph_for_char(int val_arg); int get_digraph(int cmdline); int digraph_get(int char1, int char2, int meta_char); void putdigraph(char_u *str); void listdigraphs(int use_headers); void f_digraph_get(typval_T *argvars, typval_T *rettv); void f_digraph_getlist(typval_T *argvars, typval_T *rettv); void f_digraph_set(typval_T *argvars, typval_T *rettv); void f_digraph_setlist(typval_T *argvars, typval_T *rettv); char *keymap_init(void); void ex_loadkeymap(exarg_T *eap); void keymap_clear(garray_T *kmap); /* vim: set ft=c : */