]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0896: textprop: wrong Tab size in a line with virtual text above it v9.2.0896
authorHirohito Higashi <h.east.727@gmail.com>
Sun, 2 Aug 2026 17:20:29 +0000 (17:20 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 2 Aug 2026 17:20:29 +0000 (17:20 +0000)
commita556e21552e9978e670fd351c8fc263efffe47b1
tree1f97a96a5f52bbe98b1237720f3e79c734897e74
parent85b8034dff60c3631c0cd6fb9c9104610d064659
patch 9.2.0896: textprop: wrong Tab size in a line with virtual text above it

Problem:  In a line with virtual text above it a Tab does not have the right
          size, depending on the width of the window.
Solution: Do not count the columns of the virtual text for the size of the
          Tab, neither when drawing nor when computing the column.

fixes:  #12232
closes: #20901

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/charset.c
src/drawline.c
src/structs.h
src/testdir/test_textprop.vim
src/version.c