diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-03-27 22:07:29 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-03-27 22:07:29 +0100 |
commit | 24f21fdfca294fec25861343f8928f6480da95f4 (patch) | |
tree | 9e22e3e5bb6b1bc7c95914ffcb1057d339b534c2 /runtime | |
parent | c580943965fc9b006ec233bdee4ea5380f5594ea (diff) |
patch 8.2.2667: prop_find() cannot find item matching both id and typev8.2.2667
Problem: prop_find() cannot find item matching both id and type.
Solution: Add the "both" argument. (Naohiro Ono, closes #8019)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/textprop.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/textprop.txt b/runtime/doc/textprop.txt index 169520cfd7..ac513309b2 100644 --- a/runtime/doc/textprop.txt +++ b/runtime/doc/textprop.txt @@ -175,6 +175,7 @@ prop_find({props} [, {direction}]) 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 @@ prop_find({props} [, {direction}]) 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. |