]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0184: Cursor pos wrong when clicking with conceal and wrap v9.1.0184
authorzeertzjq <zeertzjq@outlook.com>
Sat, 16 Mar 2024 14:03:33 +0000 (15:03 +0100)
committerChristian Brabandt <cb@256bit.org>
Sat, 16 Mar 2024 14:03:33 +0000 (15:03 +0100)
commitd0c1b7723f7e73763597af2f97a53d94ab7ed020
tree241675d6a8328063a55002fc96a07684320b70b9
parent9e7f1fc2f159d58b2a4cd4b7060bead126fead49
patch 9.1.0184: Cursor pos wrong when clicking with conceal and wrap

Problem:  Cursor position wrong when clicking with conceal and wrap.
Solution: Use the virtual column of the last char for ScreenCols[] in
          boguscols.  Remove use of MAXCOL in ScreenCols[].  Rename
          third argument of wlv_screen_line() to "clear_end" as that's
          clearer what it does (zeertzjq).

related: 14192
closes: #14200

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/drawline.c
src/drawscreen.c
src/mouse.c
src/proto/screen.pro
src/screen.c
src/terminal.c
src/testdir/test_conceal.vim
src/version.c
src/vim.h