Mercurial > vim
comparison src/proto/screen.pro @ 14720:a9665096074b v8.1.0372
patch 8.1.0372: screen updating slow when 'cursorline' is set
commit https://github.com/vim/vim/commit/90a997987dbbe43af3c15118a35f658f0f037d1d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 12 21:52:18 2018 +0200
patch 8.1.0372: screen updating slow when 'cursorline' is set
Problem: Screen updating slow when 'cursorline' is set.
Solution: Only redraw the old and new cursor line, not all lines.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 12 Sep 2018 22:00:07 +0200 |
parents | b5e43a048878 |
children | 325e4a8ba1b6 |
comparison
equal
deleted
inserted
replaced
14719:d5bfff0b5ebe | 14720:a9665096074b |
---|---|
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(int call_update_screen); | 10 void redraw_after_callback(int call_update_screen); |
11 void redrawWinline(linenr_T lnum, int invalid); | 11 void redrawWinline(win_T *wp, linenr_T lnum, int invalid); |
12 void reset_updating_screen(int may_resize_shell); | 12 void reset_updating_screen(int may_resize_shell); |
13 void update_curbuf(int type); | 13 void update_curbuf(int type); |
14 int update_screen(int type_arg); | 14 int update_screen(int type_arg); |
15 int conceal_cursor_line(win_T *wp); | 15 int conceal_cursor_line(win_T *wp); |
16 void conceal_check_cursor_line(void); | 16 void conceal_check_cursor_line(void); |