mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 01:08:20 +00:00
flush curbuf->deleted_bytes2 after calling do_move
This commit is contained in:
@@ -702,6 +702,7 @@ void extmark_move_region(
|
||||
int new_row, colnr_T new_col, bcount_t new_byte,
|
||||
ExtmarkOp undo)
|
||||
{
|
||||
curbuf->deleted_bytes2 = 0;
|
||||
// TODO(bfredl): this is not synced to the buffer state inside the callback.
|
||||
// But unless we make the undo implementation smarter, this is not ensured
|
||||
// anyway.
|
||||
|
Reference in New Issue
Block a user