0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.0324: text property not updated correctly when inserting/deleting

Problem:    Text property not updated correctly when inserting/deleting.
Solution:   Use the right column when deleting. Make zero-width text
            properties respect start_incl and end_incl. (Axel Forsman,
            closes #5696, closes #5679)
This commit is contained in:
Bram Moolenaar
2020-02-26 22:06:00 +01:00
parent 7eeefd4a39
commit 12f2003871
5 changed files with 74 additions and 37 deletions

View File

@@ -1301,7 +1301,7 @@ del_bytes(
#endif
// mark the buffer as changed and prepare for displaying
inserted_bytes(lnum, curwin->w_cursor.col, -count);
inserted_bytes(lnum, col, -count);
return OK;
}