Mercurial > vim
comparison src/proto/screen.pro @ 12244:d0b039e2ed56 v8.0.1002
patch 8.0.1002: unnecessarily updating screen after timer callback
commit https://github.com/vim/vim/commit/02e177d3e85e089ebdfba1a7d937150cffcb287a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 26 23:43:28 2017 +0200
patch 8.0.1002: unnecessarily updating screen after timer callback
Problem: Unnecessarily updating screen after timer callback.
Solution: Check if calling the timer sets must_redraw.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 26 Aug 2017 23:45:04 +0200 |
parents | 69af108df70e |
children | 854f49cf0abe |
comparison
equal
deleted
inserted
replaced
12243:c91be926abaf | 12244:d0b039e2ed56 |
---|---|
5 void redraw_all_later(int type); | 5 void redraw_all_later(int type); |
6 void redraw_curbuf_later(int type); | 6 void redraw_curbuf_later(int type); |
7 void redraw_buf_later(buf_T *buf, int type); | 7 void redraw_buf_later(buf_T *buf, int type); |
8 void redraw_buf_and_status_later(buf_T *buf, int type); | 8 void redraw_buf_and_status_later(buf_T *buf, int type); |
9 int redraw_asap(int type); | 9 int redraw_asap(int type); |
10 void redraw_after_callback(void); | 10 void redraw_after_callback(int call_update_screen); |
11 void redrawWinline(linenr_T lnum, int invalid); | 11 void redrawWinline(linenr_T lnum, int invalid); |
12 void update_curbuf(int type); | 12 void update_curbuf(int type); |
13 void update_screen(int type_arg); | 13 void update_screen(int type_arg); |
14 int conceal_cursor_line(win_T *wp); | 14 int conceal_cursor_line(win_T *wp); |
15 void conceal_check_cursur_line(void); | 15 void conceal_check_cursur_line(void); |
45 void windgoto(int row, int col); | 45 void windgoto(int row, int col); |
46 void setcursor(void); | 46 void setcursor(void); |
47 int win_ins_lines(win_T *wp, int row, int line_count, int invalid, int mayclear); | 47 int win_ins_lines(win_T *wp, int row, int line_count, int invalid, int mayclear); |
48 int win_del_lines(win_T *wp, int row, int line_count, int invalid, int mayclear, int clear_attr); | 48 int win_del_lines(win_T *wp, int row, int line_count, int invalid, int mayclear, int clear_attr); |
49 int screen_ins_lines(int off, int row, int line_count, int end, int clear_attr, win_T *wp); | 49 int screen_ins_lines(int off, int row, int line_count, int end, int clear_attr, win_T *wp); |
50 int screen_del_lines(int off, int row, int line_count, int end, int force, int attr, win_T *wp); | 50 int screen_del_lines(int off, int row, int line_count, int end, int force, int clear_attr, win_T *wp); |
51 int showmode(void); | 51 int showmode(void); |
52 void unshowmode(int force); | 52 void unshowmode(int force); |
53 void clearmode(void); | 53 void clearmode(void); |
54 void get_trans_bufname(buf_T *buf); | 54 void get_trans_bufname(buf_T *buf); |
55 int redrawing(void); | 55 int redrawing(void); |