patch 8.2.2667: prop_find() cannot find item matching both id and type
Problem: prop_find() cannot find item matching both id and type.
Solution: Add the "both" argument. (Naohiro Ono, closes #8019)
diff --git a/runtime/doc/textprop.txt b/runtime/doc/textprop.txt
index 169520c..ac51330 100644
--- a/runtime/doc/textprop.txt
+++ b/runtime/doc/textprop.txt
@@ -175,6 +175,7 @@
Search for a text property as specified with {props}:
id property with this ID
type property with this type name
+ both "id" and "type" must both match
bufnr buffer to search in; when present a
start position with "lnum" and "col"
must be given; when omitted the
@@ -187,6 +188,7 @@
skipstart do not look for a match at the start
position
+ A property matches when either "id" or "type" matches.
{direction} can be "f" for forward and "b" for backward. When
omitted forward search is performed.