mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +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:
@@ -366,7 +366,7 @@ void changed_bytes(linenr_T lnum, colnr_T col)
|
||||
static void inserted_bytes(linenr_T lnum, colnr_T col, int old, int new)
|
||||
{
|
||||
if (curbuf_splice_pending == 0) {
|
||||
extmark_splice(curbuf, (int)lnum-1, col, 0, old, 0, new, kExtmarkUndo);
|
||||
extmark_splice_cols(curbuf, (int)lnum-1, col, old, new, kExtmarkUndo);
|
||||
}
|
||||
|
||||
changed_bytes(lnum, col);
|
||||
|
Reference in New Issue
Block a user