aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-01-23 18:05:04 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2020-04-01 19:43:55 +0200
commit1fe0b329fe1d40e5837a43f53da0e0fff38477bc (patch)
tree4f4fe9af5166713bab5ac6403bf42636a6fdaa00 /runtime
parent4139678f97ee556ab142031a1ed5c7580278b64f (diff)
downloadrneovim-1fe0b329fe1d40e5837a43f53da0e0fff38477bc.tar.gz
rneovim-1fe0b329fe1d40e5837a43f53da0e0fff38477bc.tar.bz2
rneovim-1fe0b329fe1d40e5837a43f53da0e0fff38477bc.zip
api/ui: win_viewport event for visible range and cursor position in window
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*