Mercurial > vim
comparison src/structs.h @ 29816:bbe62ea78aac v9.0.0247
patch 9.0.0247: cannot add padding to virtual text without highlight
Commit: https://github.com/vim/vim/commit/f396ce83eebf6c61596184231d39ce4d41eeac04
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 23 18:39:37 2022 +0100
patch 9.0.0247: cannot add padding to virtual text without highlight
Problem: Cannot add padding to virtual text without highlight.
Solution: Add the "text_padding_left" argument. (issue https://github.com/vim/vim/issues/10906)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 23 Aug 2022 19:45:05 +0200 |
parents | bc6cf208b1b4 |
children | 6b7020f3d856 |
comparison
equal
deleted
inserted
replaced
29815:9941dc321348 | 29816:bbe62ea78aac |
---|---|
798 * STRLEN(ml_line_ptr) + 1. | 798 * STRLEN(ml_line_ptr) + 1. |
799 */ | 799 */ |
800 typedef struct textprop_S | 800 typedef struct textprop_S |
801 { | 801 { |
802 colnr_T tp_col; // start column (one based, in bytes) | 802 colnr_T tp_col; // start column (one based, in bytes) |
803 colnr_T tp_len; // length in bytes | 803 colnr_T tp_len; // length in bytes, when tp_id is negative used |
804 // for left padding plus one | |
804 int tp_id; // identifier | 805 int tp_id; // identifier |
805 int tp_type; // property type | 806 int tp_type; // property type |
806 int tp_flags; // TP_FLAG_ values | 807 int tp_flags; // TP_FLAG_ values |
807 } textprop_T; | 808 } textprop_T; |
808 | 809 |