forked from aniani/vim
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user