aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-06-09 15:59:23 +0200
committerDaniel Hahler <git@thequod.de>2019-08-07 14:21:23 +0200
commitc2cd9178ca73b2405714755253a268038ae202af (patch)
tree83d5e6740c71fe9865bb088ce05f9d05c02e239a
parentac6671946a8755020141d4b7639043e4d93e3f72 (diff)
downloadrneovim-c2cd9178ca73b2405714755253a268038ae202af.tar.gz
rneovim-c2cd9178ca73b2405714755253a268038ae202af.tar.bz2
rneovim-c2cd9178ca73b2405714755253a268038ae202af.zip
remove inserted_bytes (comes via text properties, v8.1.0678)
-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.