0
0
mirror of https://github.com/vim/vim.git synced 2025-10-05 05:34:07 -04:00

patch 8.1.0681: text properties as not adjusted for deleted text

Problem:    Text properties as not adjusted for deleted text.
Solution:   Adjust text properties when backspacing to delete text.
This commit is contained in:
Bram Moolenaar
2019-01-02 18:00:27 +01:00
parent c85ffc9dab
commit 33c8ca923e
5 changed files with 29 additions and 4 deletions

View File

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