diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-05 13:07:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-05 13:07:23 +0100 |
commit | afd2aa79eda3fe69f2e7c87d0b9b4bca874f386a (patch) | |
tree | 45b5952a5a05697fac7fabd869fa1c725f5e96e3 /src/charset.c | |
parent | 2f83cc4cfa56750c91eb6daa8fde319bca032d18 (diff) | |
download | vim-git-afd2aa79eda3fe69f2e7c87d0b9b4bca874f386a.tar.gz |
patch 9.0.0143: cursor positioned after virtual text in empty linev9.0.0143
Problem: Cursor positioned after virtual text in empty line.
Solution: Keep cursor in the first column. (closes #10786)
Diffstat (limited to 'src/charset.c')
-rw-r--r-- | src/charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c index c32044adb..f7ce33505 100644 --- a/src/charset.c +++ b/src/charset.c @@ -1127,7 +1127,7 @@ win_lbr_chartabsize( size = win_chartabsize(wp, s, vcol); # ifdef FEAT_PROP_POPUP - if (cts->cts_has_prop_with_text) + if (cts->cts_has_prop_with_text && *line != NUL) { int i; int col = (int)(s - line); |