1
0
forked from aniani/vim

patch 9.0.0131: virtual text with Tab is not displayed correctly

Problem:    Virtual text with Tab is not displayed correctly.
Solution:   Change any Tab to a space.
This commit is contained in:
Bram Moolenaar
2022-08-01 16:11:06 +01:00
parent 1f4ee19eef
commit 783ef7214b
4 changed files with 13 additions and 3 deletions

View File

@@ -187,6 +187,8 @@ prop_add({lnum}, {col}, {props})
in the text will move the cursor to the first character after
the text, or the last character of the line.
A negative "id" will be chosen and is returned. Once a
Any Tab in the text will be changed to a space (Rationale:
otherwise the size of the text is difficult to compute).
property with "text" has been added for a buffer then using a
negative "id" for any other property will give an error:
*E1293*