annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16631
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 /* change.c */
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 void change_warning(int col);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 void changed(void);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 void changed_internal(void);
16636
0daf9eca3541 patch 8.1.1320: it is not possible to track changes to a buffer
Bram Moolenaar <Bram@vim.org>
parents: 16631
diff changeset
5 void f_listener_add(typval_T *argvars, typval_T *rettv);
0daf9eca3541 patch 8.1.1320: it is not possible to track changes to a buffer
Bram Moolenaar <Bram@vim.org>
parents: 16631
diff changeset
6 void f_listener_remove(typval_T *argvars, typval_T *rettv);
0daf9eca3541 patch 8.1.1320: it is not possible to track changes to a buffer
Bram Moolenaar <Bram@vim.org>
parents: 16631
diff changeset
7 void invoke_listeners(void);
16631
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 void changed_bytes(linenr_T lnum, colnr_T col);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 void inserted_bytes(linenr_T lnum, colnr_T col, int added);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 void appended_lines(linenr_T lnum, long count);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 void appended_lines_mark(linenr_T lnum, long count);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 void deleted_lines(linenr_T lnum, long count);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 void deleted_lines_mark(linenr_T lnum, long count);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 void changed_lines(linenr_T lnum, colnr_T col, linenr_T lnume, long xtra);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 void unchanged(buf_T *buf, int ff);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 void ins_bytes(char_u *p);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 void ins_bytes_len(char_u *p, int len);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 void ins_char(int c);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 void ins_char_bytes(char_u *buf, int charlen);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 void ins_str(char_u *s);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 int del_char(int fixpos);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 int del_chars(long count, int fixpos);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 int del_bytes(long count, int fixpos_arg, int use_delcombine);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 int open_line(int dir, int flags, int second_line_indent);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 int truncate_line(int fixpos);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 void del_lines(long nlines, int undo);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 /* vim: set ft=c : */