diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-26 22:06:00 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-26 22:06:00 +0100 |
commit | 12f20038714928bfecdeee31ed1f927324542034 (patch) | |
tree | 2a621ca1c4a57514ec42c53132f1839a452167e2 /src/change.c | |
parent | 7eeefd4a395fe3d7c7a2a0879467cf7ed4c29fe6 (diff) |
patch 8.2.0324: text property not updated correctly when inserting/deletingv8.2.0324
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)
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 e5ac97bd54..3ee719812f 100644 --- a/src/change.c +++ b/src/change.c @@ -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; } |