summaryrefslogtreecommitdiffstats
path: root/src/proto/change.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-11 19:14:16 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-11 19:14:16 +0200
commit6d2399bd1053b367e13cc2b8991d3ff0bf724c7c (patch)
treed80ead8330e09e75221c0269235e8a69092634c6 /src/proto/change.pro
parent6ed8819822994512c160006bd1204aa11ae3c494 (diff)
patch 8.1.1320: it is not possible to track changes to a bufferv8.1.1320
Problem: It is not possible to track changes to a buffer. Solution: Add listener_add() and listener_remove(). No docs or tests yet.
Diffstat (limited to 'src/proto/change.pro')
-rw-r--r--src/proto/change.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/proto/change.pro b/src/proto/change.pro
index 34733f502a..4e8a1e64c7 100644
--- a/src/proto/change.pro
+++ b/src/proto/change.pro
@@ -2,6 +2,9 @@
void change_warning(int col);
void changed(void);
void changed_internal(void);
+void f_listener_add(typval_T *argvars, typval_T *rettv);
+void f_listener_remove(typval_T *argvars, typval_T *rettv);
+void invoke_listeners(void);
void changed_bytes(linenr_T lnum, colnr_T col);
void inserted_bytes(linenr_T lnum, colnr_T col, int added);
void appended_lines(linenr_T lnum, long count);