diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-02 18:00:27 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-02 18:00:27 +0100 |
commit | 33c8ca923ed6d5638fa98afabb2e25b5056dd47b (patch) | |
tree | 33e389557ab7b0a3e6478eb14d7d3547397da122 /src/misc1.c | |
parent | c85ffc9daba6f66d5958ae80249d26f7f81bfced (diff) | |
download | vim-git-33c8ca923ed6d5638fa98afabb2e25b5056dd47b.tar.gz |
patch 8.1.0681: text properties as not adjusted for deleted textv8.1.0681
Problem: Text properties as not adjusted for deleted text.
Solution: Adjust text properties when backspacing to delete text.
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c index 692d5c769..c2d2d19d2 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -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; } |