diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-04 15:03:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-04 15:03:48 +0100 |
commit | 398649ee44edeb309c77361de697320378104b70 (patch) | |
tree | 37c3367373fc9709b219aecc9fd5271ef4a66041 /src/structs.h | |
parent | bc49c5f48f89c2d6f4d88ee77f44a11d68293be3 (diff) | |
download | vim-git-398649ee44edeb309c77361de697320378104b70.tar.gz |
patch 9.0.0139: truncating virtual text after a line not implementedv9.0.0139
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)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index 71114b0ce..e6b9f0dbe 100644 --- a/src/structs.h +++ b/src/structs.h @@ -815,6 +815,8 @@ typedef struct textprop_S #define TP_FLAG_WRAP 0x40 // virtual text wraps - when missing // text is truncated +#define PROP_TEXT_MIN_CELLS 4 // minimun number of cells to use for + // the text, even when truncating /* * Structure defining a property type. |