Mercurial > vim
comparison src/proto/move.pro @ 28177:f04a3ec65e2d v8.2.4614
patch 8.2.4614: redrawing too much when 'cursorline' is set
Commit: https://github.com/vim/vim/commit/c20e46a4e3efcd408ef132872238144ea34f7ae5
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed Mar 23 14:55:23 2022 +0000
patch 8.2.4614: redrawing too much when 'cursorline' is set
Problem: Redrawing too much when 'cursorline' is set and jumping around.
Solution: Rely on win_update() to redraw the current and previous cursor
line, do not mark lines as modified. (closes #9996)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Mar 2022 16:00:03 +0100 |
parents | 90ea5037a7e3 |
children | 9f25e0ed831d |
comparison
equal
deleted
inserted
replaced
28176:a394011bde90 | 28177:f04a3ec65e2d |
---|---|
1 /* move.c */ | 1 /* move.c */ |
2 void reset_cursorline(void); | |
3 void redraw_for_cursorline(win_T *wp); | 2 void redraw_for_cursorline(win_T *wp); |
4 void update_topline_redraw(void); | 3 void update_topline_redraw(void); |
5 void update_topline(void); | 4 void update_topline(void); |
6 void update_curswant(void); | 5 void update_curswant(void); |
7 void check_cursor_moved(win_T *wp); | 6 void check_cursor_moved(win_T *wp); |