diff options
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 3 | ||||
-rw-r--r-- | runtime/doc/tagsrch.txt | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 05a2ff16a5..8baaef54b3 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4887,7 +4887,7 @@ getwininfo([{winid}]) *getwininfo()* winrow topmost screen column of the window getwinpos([{timeout}]) *getwinpos()* - The result is a list with two numbers, the result of + The result is a List with two numbers, the result of |getwinposx()| and |getwinposy()| combined: [x-pos, y-pos] {timeout} can be used to specify how long to wait in msec for @@ -9178,6 +9178,7 @@ winline() The result is a Number, which is the screen line of the cursor *winnr()* winnr([{arg}]) The result is a Number, which is the number of the current window. The top window has number 1. + Returns zero for a popup window. The optional argument {arg} supports the following values: $ the number of the last window (the window diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt index 8142249ac9..240765fa2d 100644 --- a/runtime/doc/tagsrch.txt +++ b/runtime/doc/tagsrch.txt @@ -893,8 +893,8 @@ The following is a hypothetical example of a function used for 'tagfunc'. It uses the output of |taglist()| to generate the result: a list of tags in the inverse order of file names. > - function! TagFunc(pattern, flags, info) - function! CompareFilenames(item1, item2) + function TagFunc(pattern, flags, info) + function CompareFilenames(item1, item2) let f1 = a:item1['filename'] let f2 = a:item2['filename'] return f1 >=# f2 ? |