comparison runtime/doc/textprop.txt @ 19601:67f39cb0a49c v8.2.0357

patch 8.2.0357: cannot delete a text property matching both id and type Commit: https://github.com/vim/vim/commit/49b79bd4888341d527c95f2aa73ed953203ce2b6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 5 21:52:55 2020 +0100 patch 8.2.0357: cannot delete a text property matching both id and type Problem: Cannot delete a text property matching both id and type. (Axel Forsman) Solution: Add the "both" argument.
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 Mar 2020 22:00:04 +0100
parents a7a24d06d7ce
children 847a300aa244
comparison
equal deleted inserted replaced
19600:911eb7bbfebb 19601:67f39cb0a49c
229 all lines. 229 all lines.
230 230
231 {props} is a dictionary with these fields: 231 {props} is a dictionary with these fields:
232 id remove text properties with this ID 232 id remove text properties with this ID
233 type remove text properties with this type name 233 type remove text properties with this type name
234 both "id" and "type" must both match
234 bufnr use this buffer instead of the current one 235 bufnr use this buffer instead of the current one
235 all when TRUE remove all matching text properties, 236 all when TRUE remove all matching text properties,
236 not just the first one 237 not just the first one
237 A property matches when either "id" or "type" matches. 238 A property matches when either "id" or "type" matches.
238 If buffer "bufnr" does not exist you get an error message. 239 If buffer "bufnr" does not exist you get an error message.