aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/change.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/nvim/change.c b/src/nvim/change.c
index 73488006a6..5f2157fa04 100644
--- a/src/nvim/change.c
+++ b/src/nvim/change.c
@@ -329,21 +329,6 @@ void changed_bytes(linenr_T lnum, colnr_T col)
}
/*
- * Like changed_bytes() but also adjust text properties for "added" bytes.
- * When "added" is negative text was deleted.
- */
- void
-inserted_bytes(linenr_T lnum, colnr_T col, int added UNUSED)
-{
- changed_bytes(lnum, col);
-
-#ifdef FEAT_TEXT_PROP
- if (curbuf->b_has_textprop && added != 0)
- adjust_prop_columns(lnum, col, added);
-#endif
-}
-
-/*
* Appended "count" lines below line "lnum" in the current buffer.
* Must be called AFTER the change and after mark_adjust().
* Takes care of marking the buffer to be redrawn and sets the changed flag.