aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/ui_events.in.h
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 /src/nvim/api/ui_events.in.h
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 'src/nvim/api/ui_events.in.h')
-rw-r--r--src/nvim/api/ui_events.in.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/api/ui_events.in.h b/src/nvim/api/ui_events.in.h
index 6677e248cf..ab31db39e9 100644
--- a/src/nvim/api/ui_events.in.h
+++ b/src/nvim/api/ui_events.in.h
@@ -115,6 +115,10 @@ void win_close(Integer grid)
void msg_set_pos(Integer grid, Integer row, Boolean scrolled, String sep_char)
FUNC_API_SINCE(6) FUNC_API_BRIDGE_IMPL FUNC_API_COMPOSITOR_IMPL;
+void win_viewport(Integer grid, Window win, Integer topline,
+ Integer botline, Integer curline, Integer curcol)
+ FUNC_API_SINCE(7) FUNC_API_REMOTE_ONLY;
+
void popupmenu_show(Array items, Integer selected,
Integer row, Integer col, Integer grid)
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;