diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-06-25 18:15:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-06-25 18:15:22 +0200 |
commit | b6da44ae82f93d036ffb2ba37a009119688d9971 (patch) | |
tree | dea583963d0aebcd8cc84075f08787dab3cb22a9 /runtime/doc | |
parent | 41d75239863d4b7a4142fc68cfa5d3a74a18d935 (diff) | |
download | vim-git-b6da44ae82f93d036ffb2ba37a009119688d9971.tar.gz |
updated for version 7.4.344v7.4.344
Problem: Unessecary initializations and other things related to
matchaddpos().
Solution: Code cleanup. (Alexey Radkov)
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 1421d54be..695ac1f2b 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4391,17 +4391,17 @@ matchaddpos({group}, {pos}[, {priority}[, {id}]]) *matchaddpos()* required, for example to highlight matching parentheses. The list {pos} can contain one of these items: - - A number. This while line will be highlighted. The first + - A number. This whole line will be highlighted. The first line has number 1. - A list with one number, e.g., [23]. The whole line with this number will be highlighted. - A list with two numbers, e.g., [23, 11]. The first number is - the line number, the second one the column number (first - column is 1). The character at this position will be - highlighted. + the line number, the second one is the column number (first + column is 1, the value must correspond to the byte index as + |col()| would return). The character at this position will + be highlighted. - A list with three numbers, e.g., [23, 11, 3]. As above, but - the third number gives the length of the highlight in screen - cells. + the third number gives the length of the highlight in bytes. The maximum number of positions is 8. |