]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0901: textprop: wrong cursor line with truncated virtual text master v9.2.0901
authorHirohito Higashi <h.east.727@gmail.com>
Sun, 2 Aug 2026 19:25:12 +0000 (19:25 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 2 Aug 2026 19:25:12 +0000 (19:25 +0000)
commit1050666c96c68abe3ef738359312e85c76607901
tree754f8be62667b39c1a06c7b46e35bc0a818ddd8c
parentd474289d0f12505b16b59a61ad161c57c3e596cb
patch 9.2.0901: textprop: wrong cursor line with truncated virtual text

Problem:  The cursor is displayed in the wrong line when virtual text below
          an empty line is truncated.
Solution: Do not count an extra column for an empty line that has virtual
          text below it, its width already includes filling up the line.
          (Hirohito Higashi).

fixes:  #12493
closes: #20917

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>
runtime/doc/todo.txt
src/charset.c
src/structs.h
src/testdir/test_textprop.vim
src/version.c