diff src/structs.h @ 32964:c7a332a34fe7

patch 9.0.1782: prop_list() does not return text_padding_left Commit: https://github.com/vim/vim/commit/171c5b9b0332493faa6caadd8c0d5cf52392d913 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Tue Aug 22 21:48:50 2023 +0200 patch 9.0.1782: prop_list() does not return text_padding_left Problem: prop_list() does not return text_padding_left Solution: Store and return the text_padding_left value for text properties closes: #12870 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author Christian Brabandt <cb@256bit.org>
date Tue, 22 Aug 2023 22:00:05 +0200
parents 41482b74f548
children ccfca4f03a2b
line wrap: on
line diff
--- a/src/structs.h
+++ b/src/structs.h
@@ -827,6 +827,8 @@ typedef struct textprop_S
     int		tp_id;		// identifier
     int		tp_type;	// property type
     int		tp_flags;	// TP_FLAG_ values
+    int		tp_padleft;	// left padding between text line and virtual
+				// text
 } textprop_T;
 
 #define TP_FLAG_CONT_NEXT	0x1	// property continues in next line