diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-05-16 20:18:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-05-16 20:18:57 +0200 |
commit | 1764faa38645a559172e9a31f08447385835de81 (patch) | |
tree | a99cd5381e3277ed7563664f9461be31aecb1048 /src/change.c | |
parent | dcfc311198b174468c007ec4b5b22b33c2c11c92 (diff) |
patch 8.2.2860: adding a text property causes the whole window to be redawnv8.2.2860
Problem: Adding a text property causes the whole window to be redawn.
Solution: Use changed_lines_buf() to only redraw the affected lines.
Diffstat (limited to 'src/change.c')
-rw-r--r-- | src/change.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/change.c b/src/change.c index 50dc105436..248e6d8487 100644 --- a/src/change.c +++ b/src/change.c @@ -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 |