From 88442c2fa66a7303d6a9b52a254d49073bda5541 Mon Sep 17 00:00:00 2001 From: Daniel Steinberg Date: Thu, 8 Jul 2021 00:38:00 -0400 Subject: [PATCH] docs: add 'plus one' to correct getmousepos docs This change was applied to Vim as part of 90df4b9. https://github.com/vim/vim/commit/90df4b9d423485f7db16e3a65cab4f14edc815ae --- runtime/doc/eval.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index b298733d06..d6f72b68f7 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5122,7 +5122,7 @@ getmousepos() *getmousepos()* are zero. When the position is after the text then "column" is the - length of the text in bytes. + length of the text in bytes plus one. If the mouse is over a focusable floating window then that window is used.