comparison runtime/doc/eval.txt @ 14407:631344964949 v8.1.0218

patch 8.1.0218: cannot add matches to another window commit https://github.com/vim/vim/commit/95e51470f10e1ddcc4b2ce53e4f7ff7aa2e58417 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 28 16:55:56 2018 +0200 patch 8.1.0218: cannot add matches to another window Problem: Cannot add matches to another window. (Qiming Zhao) Solution: Add the "window" argument to matchadd() and matchaddpos(). (closes #3260)
author Christian Brabandt <cb@256bit.org>
date Sat, 28 Jul 2018 17:00:05 +0200
parents 723487cd7876
children 2f7e67dd088c
comparison
equal deleted inserted replaced
14406:9b4fa7ed95a0 14407:631344964949
6014 See |pattern| for the patterns that are accepted. 6014 See |pattern| for the patterns that are accepted.
6015 The 'ignorecase' option is used to set the ignore-caseness of 6015 The 'ignorecase' option is used to set the ignore-caseness of
6016 the pattern. 'smartcase' is NOT used. The matching is always 6016 the pattern. 'smartcase' is NOT used. The matching is always
6017 done like 'magic' is set and 'cpoptions' is empty. 6017 done like 'magic' is set and 'cpoptions' is empty.
6018 6018
6019 *matchadd()* *E798* *E799* *E801* 6019 *matchadd()* *E798* *E799* *E801* *E957*
6020 matchadd({group}, {pattern} [, {priority} [, {id} [, {dict}]]]) 6020 matchadd({group}, {pattern} [, {priority} [, {id} [, {dict}]]])
6021 Defines a pattern to be highlighted in the current window (a 6021 Defines a pattern to be highlighted in the current window (a
6022 "match"). It will be highlighted with {group}. Returns an 6022 "match"). It will be highlighted with {group}. Returns an
6023 identification number (ID), which can be used to delete the 6023 identification number (ID), which can be used to delete the
6024 match using |matchdelete()|. 6024 match using |matchdelete()|.
6053 highlighted matches. The dict can have the following members: 6053 highlighted matches. The dict can have the following members:
6054 6054
6055 conceal Special character to show instead of the 6055 conceal Special character to show instead of the
6056 match (only for |hl-Conceal| highlighted 6056 match (only for |hl-Conceal| highlighted
6057 matches, see |:syn-cchar|) 6057 matches, see |:syn-cchar|)
6058 window Instead of the current window use the
6059 window with this number or window ID.
6058 6060
6059 The number of matches is not limited, as it is the case with 6061 The number of matches is not limited, as it is the case with
6060 the |:match| commands. 6062 the |:match| commands.
6061 6063
6062 Example: > 6064 Example: >