Mercurial > vim
comparison src/proto/change.pro @ 16636:0daf9eca3541 v8.1.1320
patch 8.1.1320: it is not possible to track changes to a buffer
commit https://github.com/vim/vim/commit/6d2399bd1053b367e13cc2b8991d3ff0bf724c7c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 11 19:14:16 2019 +0200
patch 8.1.1320: it is not possible to track changes to a buffer
Problem: It is not possible to track changes to a buffer.
Solution: Add listener_add() and listener_remove(). No docs or tests yet.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 11 May 2019 19:15:05 +0200 |
parents | 7217a9c5adb3 |
children | 04c2614af21c |
comparison
equal
deleted
inserted
replaced
16635:3f496519cc23 | 16636:0daf9eca3541 |
---|---|
1 /* change.c */ | 1 /* change.c */ |
2 void change_warning(int col); | 2 void change_warning(int col); |
3 void changed(void); | 3 void changed(void); |
4 void changed_internal(void); | 4 void changed_internal(void); |
5 void f_listener_add(typval_T *argvars, typval_T *rettv); | |
6 void f_listener_remove(typval_T *argvars, typval_T *rettv); | |
7 void invoke_listeners(void); | |
5 void changed_bytes(linenr_T lnum, colnr_T col); | 8 void changed_bytes(linenr_T lnum, colnr_T col); |
6 void inserted_bytes(linenr_T lnum, colnr_T col, int added); | 9 void inserted_bytes(linenr_T lnum, colnr_T col, int added); |
7 void appended_lines(linenr_T lnum, long count); | 10 void appended_lines(linenr_T lnum, long count); |
8 void appended_lines_mark(linenr_T lnum, long count); | 11 void appended_lines_mark(linenr_T lnum, long count); |
9 void deleted_lines(linenr_T lnum, long count); | 12 void deleted_lines(linenr_T lnum, long count); |