mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.2860: adding a text property causes the whole window to be redawn
Problem: Adding a text property causes the whole window to be redawn. Solution: Use changed_lines_buf() to only redraw the affected lines.
This commit is contained in:
@@ -758,7 +758,7 @@ deleted_lines_mark(linenr_T lnum, long count)
|
||||
/*
|
||||
* Marks the area to be redrawn after a change.
|
||||
*/
|
||||
static void
|
||||
void
|
||||
changed_lines_buf(
|
||||
buf_T *buf,
|
||||
linenr_T lnum, // first line with change
|
||||
|
Reference in New Issue
Block a user