Merge pull request #14335 from chentau/extmark_delbytes

Extmarks: manually zero out `curbuf->deleted_bytes2` on substitute and join
This commit is contained in:
Björn Linse
2021-06-29 15:31:23 +02:00
committed by GitHub
3 changed files with 36 additions and 0 deletions

View File

@@ -4237,6 +4237,8 @@ skip:
}
}
curbuf->deleted_bytes2 = 0;
if (first_line != 0) {
/* Need to subtract the number of added lines from "last_line" to get
* the line number before the change (same as adding the number of