Mercurial > vim
annotate src/proto/change.pro @ 20313:244eb8d8d100 v8.2.0712
patch 8.2.0712: various code not fully tested
Commit: https://github.com/vim/vim/commit/0ff5dedf0f69e56320199db7a2aad46be2a1f9b7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 7 18:43:44 2020 +0200
patch 8.2.0712: various code not fully tested
Problem: Various code not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/6049)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 07 May 2020 18:45:04 +0200 |
parents | fd95d4dbeb37 |
children | 5adb97bf0b32 |
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); |
16660
04c2614af21c
patch 8.1.1332: cannot flush listeners without redrawing, mix of changes
Bram Moolenaar <Bram@vim.org>
parents:
16636
diff
changeset
|
6 void f_listener_flush(typval_T *argvars, typval_T *rettv); |
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
|
7 void f_listener_remove(typval_T *argvars, typval_T *rettv); |
16666
978bcd70883d
patch 8.1.1335: listener callback is called after inserting text
Bram Moolenaar <Bram@vim.org>
parents:
16660
diff
changeset
|
8 void may_invoke_listeners(buf_T *buf, linenr_T lnum, linenr_T lnume, int added); |
16660
04c2614af21c
patch 8.1.1332: cannot flush listeners without redrawing, mix of changes
Bram Moolenaar <Bram@vim.org>
parents:
16636
diff
changeset
|
9 void invoke_listeners(buf_T *buf); |
18225
6c3a8312486d
patch 8.1.2107: various memory leaks reported by asan
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
10 void remove_listeners(buf_T *buf); |
16631
7217a9c5adb3
Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 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
|
12 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
|
13 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
|
14 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
|
15 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
|
16 void changed_lines(linenr_T lnum, colnr_T col, linenr_T lnume, long xtra); |
16996
d5e1e09a829f
patch 8.1.1498: ":write" increments b:changedtick even though nothing changed
Bram Moolenaar <Bram@vim.org>
parents:
16666
diff
changeset
|
17 void unchanged(buf_T *buf, int ff, int always_inc_changedtick); |
18679
fd95d4dbeb37
patch 8.1.2331: the option.c file is still very big
Bram Moolenaar <Bram@vim.org>
parents:
18225
diff
changeset
|
18 void save_file_ff(buf_T *buf); |
fd95d4dbeb37
patch 8.1.2331: the option.c file is still very big
Bram Moolenaar <Bram@vim.org>
parents:
18225
diff
changeset
|
19 int file_ff_differs(buf_T *buf, int ignore_empty); |
16631
7217a9c5adb3
Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
20 void ins_bytes(char_u *p); |
7217a9c5adb3
Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
21 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
|
22 void ins_char(int c); |
7217a9c5adb3
Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
23 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
|
24 void ins_str(char_u *s); |
7217a9c5adb3
Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
25 int del_char(int fixpos); |
7217a9c5adb3
Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
26 int del_chars(long count, int fixpos); |
7217a9c5adb3
Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
27 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
|
28 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
|
29 int truncate_line(int fixpos); |
7217a9c5adb3
Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
30 void del_lines(long nlines, int undo); |
7217a9c5adb3
Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
31 /* vim: set ft=c : */ |