annotate src/proto/change.pro @ 24643:09e64e81c473 v8.2.2860

patch 8.2.2860: adding a text property causes the whole window to be redawn Commit: https://github.com/vim/vim/commit/1764faa38645a559172e9a31f08447385835de81 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 16 20:18:57 2021 +0200 patch 8.2.2860: adding a text property causes the whole window to be redawn Problem: Adding a text property causes the whole window to be redawn. Solution: Use changed_lines_buf() to only redraw the affected lines.
author Bram Moolenaar <Bram@vim.org>
date Sun, 16 May 2021 20:30:02 +0200
parents 5adb97bf0b32
children 9596c652420b
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);
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);
22282
5adb97bf0b32 patch 8.2.1690: text properties not adjusted for "I" in Visual block mode
Bram Moolenaar <Bram@vim.org>
parents: 18679
diff changeset
12 void inserted_bytes(linenr_T lnum, colnr_T col, int added);
16631
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 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
14 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
15 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
16 void deleted_lines_mark(linenr_T lnum, long count);
24643
09e64e81c473 patch 8.2.2860: adding a text property causes the whole window to be redawn
Bram Moolenaar <Bram@vim.org>
parents: 22282
diff changeset
17 void changed_lines_buf(buf_T *buf, linenr_T lnum, linenr_T lnume, long xtra);
16631
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 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
19 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
20 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
21 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
22 void ins_bytes(char_u *p);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 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
24 void ins_char(int c);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 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
26 void ins_str(char_u *s);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 int del_char(int fixpos);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28 int del_chars(long count, int fixpos);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
29 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
30 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
31 int truncate_line(int fixpos);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
32 void del_lines(long nlines, int undo);
7217a9c5adb3 Add missing files from patch 8.1.1318
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
33 /* vim: set ft=c : */