0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 9.0.1301: virtual text below empty line not displayed

Problem:    Virtual text below empty line not displayed.
Solution:   Adjust flags and computations. (closes #11959)
This commit is contained in:
Bram Moolenaar
2023-02-11 13:49:01 +00:00
parent 3ec78f973f
commit 9d9a20ee87
5 changed files with 102 additions and 26 deletions

View File

@@ -1152,6 +1152,8 @@ win_lbr_chartabsize(
* First get the normal size, without 'linebreak' or text properties
*/
size = win_chartabsize(wp, s, vcol);
if (*s == NUL)
size = 0; // NUL is not displayed
# ifdef FEAT_PROP_POPUP
if (cts->cts_has_prop_with_text)