Mercurial > vim
view src/proto/beval.pro @ 32460:45c426cebfcd v9.0.1561
patch 9.0.1561: display wrong when moving cursor to above the top line
Commit: https://github.com/vim/vim/commit/798fa76dbf737f855e47b10bf326453866b429ab
Author: Luuk van Baal <luukvbaal@gmail.com>
Date: Mon May 15 18:17:43 2023 +0100
patch 9.0.1561: display wrong when moving cursor to above the top line
Problem: Display wrong when moving cursor to above the top line and
'smoothscroll' is set.
Solution: Call adjust_skipcol() in more places and make it work better.
(Luuk van Baal, closes #12395)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 15 May 2023 19:30:05 +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 : */