Mercurial > vim
view src/proto/beval.pro @ 28269:20b28fbf7f03 v8.2.4660
patch 8.2.4660: cursorcolumn is sometimes not correct
Commit: https://github.com/vim/vim/commit/782c6744b49b30d9460ed00d4773666e42e07163
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 1 12:06:31 2022 +0100
patch 8.2.4660: cursorcolumn is sometimes not correct
Problem: Cursorcolumn is sometimes not correct.
Solution: Recompute the cursor column when entering Insert mode and the
cursor is on a character wider than a screen cell.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 01 Apr 2022 13:15:08 +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 : */