Mercurial > vim
comparison src/change.c @ 29708:d97b2ce26258 v9.0.0194
patch 9.0.0194: cursor displayed in wrong position after removing text prop
Commit: https://github.com/vim/vim/commit/326c5d36e7cb8526330565109c17b4a13ff790ae
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 12 13:05:49 2022 +0100
patch 9.0.0194: cursor displayed in wrong position after removing text prop
Problem: Cursor displayed in wrong position after removing text prop. (Ben
Jackson)
Solution: Invalidate the cursor position. (closes #10898)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 12 Aug 2022 14:15:04 +0200 |
parents | e134ff00be57 |
children | 89e1d67814a9 |
comparison
equal
deleted
inserted
replaced
29707:325f7101453d | 29708:d97b2ce26258 |
---|---|
799 changed_lines(lnum, 0, lnum + count, -count); | 799 changed_lines(lnum, 0, lnum + count, -count); |
800 } | 800 } |
801 | 801 |
802 /* | 802 /* |
803 * Marks the area to be redrawn after a change. | 803 * Marks the area to be redrawn after a change. |
804 * Consider also calling changed_line_display_buf(). | |
804 */ | 805 */ |
805 void | 806 void |
806 changed_lines_buf( | 807 changed_lines_buf( |
807 buf_T *buf, | 808 buf_T *buf, |
808 linenr_T lnum, // first line with change | 809 linenr_T lnum, // first line with change |