Mercurial > vim
comparison src/drawline.c @ 29550:ec5f48ab361b v9.0.0116
patch 9.0.0116: virtual text not displayed if 'signcolumn' is "yes"
Commit: https://github.com/vim/vim/commit/711483cd1381a4ed848d783ae0a6792d5b04447b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 30 21:33:46 2022 +0100
patch 9.0.0116: virtual text not displayed if 'signcolumn' is "yes"
Problem: Virtual text not displayed if 'signcolumn' is "yes".
Solution: Set c_extra and c_final to NUL.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Jul 2022 22:45:02 +0200 |
parents | 6387e75a4a6b |
children | 14b139cbec49 |
comparison
equal
deleted
inserted
replaced
29549:ad76819317c8 | 29550:ec5f48ab361b |
---|---|
1522 ->b_textprop_text.ga_data)[ | 1522 ->b_textprop_text.ga_data)[ |
1523 -text_prop_id - 1]; | 1523 -text_prop_id - 1]; |
1524 if (p != NULL) | 1524 if (p != NULL) |
1525 { | 1525 { |
1526 p_extra = p; | 1526 p_extra = p; |
1527 c_extra = NUL; | |
1528 c_final = NUL; | |
1527 n_extra = (int)STRLEN(p); | 1529 n_extra = (int)STRLEN(p); |
1528 extra_attr = used_attr; | 1530 extra_attr = used_attr; |
1529 n_attr = n_extra; | 1531 n_attr = n_extra; |
1530 text_prop_attr = 0; | 1532 text_prop_attr = 0; |
1531 | 1533 |