summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-01 16:11:06 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-01 16:11:06 +0100
commit783ef7214b6a33300bd83f616c1ead587370ce49 (patch)
tree000e03daade5825f8b2ef465690f8dea766f39cc /runtime
parent1f4ee19eefecd8f70b7cbe8ee9db8ace6352e23e (diff)
patch 9.0.0131: virtual text with Tab is not displayed correctlyv9.0.0131
Problem: Virtual text with Tab is not displayed correctly. Solution: Change any Tab to a space.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/textprop.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/textprop.txt b/runtime/doc/textprop.txt
index a0c8c348d7..150d466e27 100644
--- a/runtime/doc/textprop.txt
+++ b/runtime/doc/textprop.txt
@@ -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*