aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-04-01 20:52:04 +0200
committerGitHub <noreply@github.com>2020-04-01 20:52:04 +0200
commit6ca7ebb34685a2be497dd5bb00defd5976af7b27 (patch)
tree4f4fe9af5166713bab5ac6403bf42636a6fdaa00 /runtime
parent4139678f97ee556ab142031a1ed5c7580278b64f (diff)
parent1fe0b329fe1d40e5837a43f53da0e0fff38477bc (diff)
downloadrneovim-6ca7ebb34685a2be497dd5bb00defd5976af7b27.tar.gz
rneovim-6ca7ebb34685a2be497dd5bb00defd5976af7b27.tar.bz2
rneovim-6ca7ebb34685a2be497dd5bb00defd5976af7b27.zip
Merge pull request #11748 from bfredl/viewport
win_viewport event for buffer range and buffer cursor pos
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/ui.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt
index de54ce59b6..b243d9ba50 100644
--- a/runtime/doc/ui.txt
+++ b/runtime/doc/ui.txt
@@ -592,6 +592,12 @@ tabs.
When |ext_messages| is active, no message grid is used, and this event
will not be sent.
+["win_viewport", grid, win, topline, botline, curline, curcol]
+ Indicates the range of buffer text displayed in the window, as well
+ as the cursor position in the buffer. All positions are zero-based.
+ `botline` is set to one more than the line count of the buffer, if
+ there are filler lines past the end.
+
==============================================================================
Popupmenu Events *ui-popupmenu*