Mercurial > vim
view src/proto/beval.pro @ 31946:05414bdc5c2c v9.0.1305
patch 9.0.1305: cursor in wrong line with virtual text above
Commit: https://github.com/vim/vim/commit/55a27d8ea7c112429fff14aba5db562de7f765f1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 12 18:03:57 2023 +0000
patch 9.0.1305: cursor in wrong line with virtual text above
Problem: Cursor in wrong line with virtual text above.
Solution: Count extra line for text property above/below. (closes https://github.com/vim/vim/issues/11959)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Feb 2023 19:15:03 +0100 |
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 : */