@@ -141,9 +141,9 @@ prop_add({lnum}, {col}, {props})
141141 the current buffer is used
142142 id user defined ID for the property; must be a
143143 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
144+ when using "text" then any "id" value is
145+ ignored and a negative number is assigned
146+ automatically ; otherwise zero is used
147147 *E1305*
148148 text text to be displayed before {col} , or
149149 above/below the line if {col} is zero; prepend
@@ -224,14 +224,9 @@ prop_add({lnum}, {col}, {props})
224224 is difficult to compute).
225225 A negative "id" will be chosen and is returned.
226226
227- Before text properties with text were supported it was
228- possible to use a negative "id", even though this was very
229- rare. Now that negative "id"s are reserved for text
230- properties with text an error is given when using a negative
231- "id". When a text property with text already exists using a
232- negative "id" results in *E1293* . If a negative "id" was
233- used and later a text property with text is added results in
234- *E1339* .
227+ Negative "id"s are reserved for text properties with "text"
228+ and cannot be used otherwise. Using a negative "id" results
229+ in *E1293* .
235230
236231 Can also be used as a | method | : >
237232 GetLnum()->prop_add(col, props)
0 commit comments