comparison runtime/doc/textprop.txt @ 29840:b15334beeaa4

Update runtime files Commit: https://github.com/vim/vim/commit/fd999452adaf529a30d78844b5fbee355943da29 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 24 18:30:14 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Wed, 24 Aug 2022 19:45:05 +0200
parents bbe62ea78aac
children ed6f3d2593df
comparison
equal deleted inserted replaced
29839:30481eb9c6ea 29840:b15334beeaa4
358 bit slow for a buffer with many lines). 358 bit slow for a buffer with many lines).
359 359
360 {props} is a dictionary with these fields: 360 {props} is a dictionary with these fields:
361 id remove text properties with this ID 361 id remove text properties with this ID
362 type remove text properties with this type name 362 type remove text properties with this type name
363 both "id" and "type" must both match 363 types remove text properties with type names in this
364 List
365 both "id" and "type"/"types" must both match
364 bufnr use this buffer instead of the current one 366 bufnr use this buffer instead of the current one
365 all when TRUE remove all matching text properties, 367 all when TRUE remove all matching text properties,
366 not just the first one 368 not just the first one
367 A property matches when either "id" or "type" matches. 369 Only one of "type" and "types" may be supplied. *E1295*
370
371 A property matches when either "id" or one of the supplied
372 types matches.
368 If buffer "bufnr" does not exist you get an error message. 373 If buffer "bufnr" does not exist you get an error message.
369 If buffer "bufnr" is not loaded then nothing happens. 374 If buffer "bufnr" is not loaded then nothing happens.
370 375
371 Returns the number of properties that were removed. 376 Returns the number of properties that were removed.
372 377