Mercurial > vim
view src/proto/beval.pro @ 28790:a161c262e947 v8.2.4919
patch 8.2.4919: can add invalid bytes with :spellgood
Commit: https://github.com/vim/vim/commit/7c824682d2028432ee082703ef0ab399867a089b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 8 22:32:58 2022 +0100
patch 8.2.4919: can add invalid bytes with :spellgood
Problem: Can add invalid bytes with :spellgood.
Solution: Check for a valid word string.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 08 May 2022 23:45:02 +0200 |
parents | 8813e1626e0a |
children |
line wrap: on
line source
/* beval.c */ int find_word_under_cursor(int mouserow, int mousecol, int getword, int flags, win_T **winp, linenr_T *lnump, char_u **textp, int *colp, int *startcolp); int get_beval_info(BalloonEval *beval, int getword, win_T **winp, linenr_T *lnump, char_u **textp, int *colp); void post_balloon(BalloonEval *beval, char_u *mesg, list_T *list); int can_use_beval(void); void general_beval_cb(BalloonEval *beval, int state); /* vim: set ft=c : */