summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-05 21:52:55 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-05 21:52:55 +0100
commit49b79bd4888341d527c95f2aa73ed953203ce2b6 (patch)
treed43e2c107c13b78845cf4e72670f696c21e88717 /runtime
parent8f027fe470555252b258508c455e93700a969cb1 (diff)
patch 8.2.0357: cannot delete a text property matching both id and typev8.2.0357
Problem: Cannot delete a text property matching both id and type. (Axel Forsman) Solution: Add the "both" argument.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/textprop.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/textprop.txt b/runtime/doc/textprop.txt
index 6dc58b7076..55a5ed300b 100644
--- a/runtime/doc/textprop.txt
+++ b/runtime/doc/textprop.txt
@@ -231,6 +231,7 @@ prop_remove({props} [, {lnum} [, {lnum-end}]])
{props} is a dictionary with these fields:
id remove text properties with this ID
type remove text properties with this type name
+ both "id" and "type" must both match
bufnr use this buffer instead of the current one
all when TRUE remove all matching text properties,
not just the first one