aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api
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 /src/nvim/api
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 'src/nvim/api')
-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;