diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-29 22:28:29 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-29 22:28:29 +0200 |
commit | 68a4b04a8d2471adf9de595745437c7cf20b98d8 (patch) | |
tree | eafe9c0d11c84ce76950b845a512515b38f58acc /src/proto/screen.pro | |
parent | 868b7b6712ea4f2232eeeae18c5cbbbddf2ee84d (diff) | |
download | vim-git-68a4b04a8d2471adf9de595745437c7cf20b98d8.tar.gz |
patch 8.1.1419: listener callbacks may be called recursivelyv8.1.1419
Problem: Listener callbacks may be called recursively.
Solution: Set "updating_screen" while listener callbacks are invoked.
Diffstat (limited to 'src/proto/screen.pro')
-rw-r--r-- | src/proto/screen.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proto/screen.pro b/src/proto/screen.pro index 0657831db..ab73e0ba9 100644 --- a/src/proto/screen.pro +++ b/src/proto/screen.pro @@ -10,7 +10,7 @@ void redraw_buf_and_status_later(buf_T *buf, int type); int redraw_asap(int type); void redraw_after_callback(int call_update_screen); void redrawWinline(win_T *wp, linenr_T lnum); -void reset_updating_screen(int may_resize_shell); +void after_updating_screen(int may_resize_shell); void update_curbuf(int type); int update_screen(int type_arg); int conceal_cursor_line(win_T *wp); @@ -18,7 +18,7 @@ void conceal_check_cursor_line(void); void update_debug_sign(buf_T *buf, linenr_T lnum); void updateWindow(win_T *wp); int screen_get_current_line_off(void); -void screen_line(int row, int coloff, int endcol, int clear_width, int rlflag); +void screen_line(int row, int coloff, int endcol, int clear_width, int flags); void rl_mirror(char_u *str); void status_redraw_all(void); void status_redraw_curbuf(void); |