mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
extmark: separate extmark_splice_cols for column-only change
as the byte logic will be the same for all of these
This commit is contained in:
@@ -1744,8 +1744,7 @@ static void foldDelMarker(
|
||||
STRCPY(newline + (p - line), p + len);
|
||||
ml_replace_buf(buf, lnum, newline, false);
|
||||
extmark_splice_cols(buf, (int)lnum-1, (int)(p - line),
|
||||
(int)len,
|
||||
0, kExtmarkUndo);
|
||||
(int)len, 0, kExtmarkUndo);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user