comparison src/structs.h @ 29597:f2d7f20d83c3 v9.0.0139

patch 9.0.0139: truncating virtual text after a line not implemented Commit: https://github.com/vim/vim/commit/398649ee44edeb309c77361de697320378104b70 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 4 15:03:48 2022 +0100 patch 9.0.0139: truncating virtual text after a line not implemented Problem: Truncating virtual text after a line not implemented. Cursor positioning wrong with Newline in the text. Solution: Implement truncating. Disallow control characters in the text. (closes #10842)
author Bram Moolenaar <Bram@vim.org>
date Thu, 04 Aug 2022 16:15:08 +0200
parents 14b139cbec49
children 33d7c1fa2dac
comparison
equal deleted inserted replaced
29596:aea558552904 29597:f2d7f20d83c3
813 #define TP_FLAG_ALIGN_RIGHT 0x10 // virtual text is right-aligned 813 #define TP_FLAG_ALIGN_RIGHT 0x10 // virtual text is right-aligned
814 #define TP_FLAG_ALIGN_BELOW 0x20 // virtual text on next screen line 814 #define TP_FLAG_ALIGN_BELOW 0x20 // virtual text on next screen line
815 815
816 #define TP_FLAG_WRAP 0x40 // virtual text wraps - when missing 816 #define TP_FLAG_WRAP 0x40 // virtual text wraps - when missing
817 // text is truncated 817 // text is truncated
818 #define PROP_TEXT_MIN_CELLS 4 // minimun number of cells to use for
819 // the text, even when truncating
818 820
819 /* 821 /*
820 * Structure defining a property type. 822 * Structure defining a property type.
821 */ 823 */
822 typedef struct proptype_S 824 typedef struct proptype_S