|
1 |
| -*textprop.txt* For Vim version 9.1. Last change: 2024 Jun 08 |
| 1 | +*textprop.txt* For Vim version 9.1. Last change: 2024 Sep 08 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar
|
@@ -140,10 +140,10 @@ prop_add({lnum}, {col}, {props})
|
140 | 140 | bufnr buffer to add the property to; when omitted
|
141 | 141 | the current buffer is used
|
142 | 142 | id user defined ID for the property; must be a
|
143 |
| - number, should be positive; when using "text" |
144 |
| - then "id" must not be present and will be set |
145 |
| - automatically to a negative number; otherwise |
146 |
| - zero is used |
| 143 | + number, should be positive |E1510|; |
| 144 | + when using "text" then "id" must not be |
| 145 | + present and will be set automatically to a |
| 146 | + negative number; otherwise zero is used |
147 | 147 | *E1305*
|
148 | 148 | text text to be displayed before {col}, or
|
149 | 149 | above/below the line if {col} is zero; prepend
|
@@ -271,7 +271,7 @@ prop_add_list({props}, [{item}, ...]) *prop_add_list()*
|
271 | 271 | call prop_add_list(#{type: 'MyProp', id: 2},
|
272 | 272 | \ [[1, 4, 1, 7],
|
273 | 273 | \ [1, 15, 1, 20],
|
274 |
| - \ [2, 30, 3, 30]] |
| 274 | + \ [2, 30, 3, 30]]) |
275 | 275 | <
|
276 | 276 | Can also be used as a |method|: >
|
277 | 277 | GetProp()->prop_add_list([[1, 1, 1, 2], [1, 4, 1, 8]])
|
|
0 commit comments