]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0186: cursor pos wrong on mouse click after eol with 'rl', 've' and conceal v9.1.0186
authorzeertzjq <zeertzjq@outlook.com>
Sun, 17 Mar 2024 18:44:30 +0000 (19:44 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 17 Mar 2024 18:44:30 +0000 (19:44 +0100)
commitdeb2204bffa075ed5485415fc2dbd20e75d87ea4
treee8d07d8594518c382c23915122da87076aa02955
parentf6272551bdae3f265b6948a4155b079c37fe110f
patch 9.1.0186: cursor pos wrong on mouse click after eol with 'rl', 've' and conceal

Problem:  Wrong cursor position when clicking after end of line with
          'rightleft', 'virtualedit' and conceal.
Solution: Set values in ScreenCols[] also with SLF_RIGHTLEFT.  Also fix
          off-by-one cursor position with 'colorcolumn' (zeertzjq).

closes: #14218

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