Mercurial > vim
comparison src/proto/screen.pro @ 16835:7cade95272c4 v8.1.1419
patch 8.1.1419: listener callbacks may be called recursively
commit https://github.com/vim/vim/commit/68a4b04a8d2471adf9de595745437c7cf20b98d8
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 29 22:28:29 2019 +0200
patch 8.1.1419: listener callbacks may be called recursively
Problem: Listener callbacks may be called recursively.
Solution: Set "updating_screen" while listener callbacks are invoked.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 29 May 2019 22:30:06 +0200 |
parents | dd2e0b83a660 |
children | 03f3a9ca2770 |
comparison
equal
deleted
inserted
replaced
16834:d8da28aef349 | 16835:7cade95272c4 |
---|---|
8 void redraw_buf_line_later(buf_T *buf, linenr_T lnum); | 8 void redraw_buf_line_later(buf_T *buf, linenr_T lnum); |
9 void redraw_buf_and_status_later(buf_T *buf, int type); | 9 void redraw_buf_and_status_later(buf_T *buf, int type); |
10 int redraw_asap(int type); | 10 int redraw_asap(int type); |
11 void redraw_after_callback(int call_update_screen); | 11 void redraw_after_callback(int call_update_screen); |
12 void redrawWinline(win_T *wp, linenr_T lnum); | 12 void redrawWinline(win_T *wp, linenr_T lnum); |
13 void reset_updating_screen(int may_resize_shell); | 13 void after_updating_screen(int may_resize_shell); |
14 void update_curbuf(int type); | 14 void update_curbuf(int type); |
15 int update_screen(int type_arg); | 15 int update_screen(int type_arg); |
16 int conceal_cursor_line(win_T *wp); | 16 int conceal_cursor_line(win_T *wp); |
17 void conceal_check_cursor_line(void); | 17 void conceal_check_cursor_line(void); |
18 void update_debug_sign(buf_T *buf, linenr_T lnum); | 18 void update_debug_sign(buf_T *buf, linenr_T lnum); |
19 void updateWindow(win_T *wp); | 19 void updateWindow(win_T *wp); |
20 int screen_get_current_line_off(void); | 20 int screen_get_current_line_off(void); |
21 void screen_line(int row, int coloff, int endcol, int clear_width, int rlflag); | 21 void screen_line(int row, int coloff, int endcol, int clear_width, int flags); |
22 void rl_mirror(char_u *str); | 22 void rl_mirror(char_u *str); |
23 void status_redraw_all(void); | 23 void status_redraw_all(void); |
24 void status_redraw_curbuf(void); | 24 void status_redraw_curbuf(void); |
25 void redraw_statuslines(void); | 25 void redraw_statuslines(void); |
26 void win_redraw_last_status(frame_T *frp); | 26 void win_redraw_last_status(frame_T *frp); |