comparison runtime/doc/textprop.txt @ 29581:4a79bca8a76e v9.0.0131

patch 9.0.0131: virtual text with Tab is not displayed correctly Commit: https://github.com/vim/vim/commit/783ef7214b6a33300bd83f616c1ead587370ce49 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 1 16:11:06 2022 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Mon, 01 Aug 2022 17:15:02 +0200
parents 14b139cbec49
children 33d7c1fa2dac
comparison
equal deleted inserted replaced
29580:11db5a699881 29581:4a79bca8a76e
185 The text will be displayed but it is not part of the actual 185 The text will be displayed but it is not part of the actual
186 buffer line, the cursor cannot be placed on it. A mouse click 186 buffer line, the cursor cannot be placed on it. A mouse click
187 in the text will move the cursor to the first character after 187 in the text will move the cursor to the first character after
188 the text, or the last character of the line. 188 the text, or the last character of the line.
189 A negative "id" will be chosen and is returned. Once a 189 A negative "id" will be chosen and is returned. Once a
190 Any Tab in the text will be changed to a space (Rationale:
191 otherwise the size of the text is difficult to compute).
190 property with "text" has been added for a buffer then using a 192 property with "text" has been added for a buffer then using a
191 negative "id" for any other property will give an error: 193 negative "id" for any other property will give an error:
192 *E1293* 194 *E1293*
193 Make sure to use a highlight that makes clear to the user that 195 Make sure to use a highlight that makes clear to the user that
194 this is virtual text, otherwise it will be very confusing that 196 this is virtual text, otherwise it will be very confusing that