annotate src/proto/popupmnu.pro @ 14097:db44cd9f8068 v8.1.0066

patch 8.1.0066: nasty autocommand causes using freed memory commit https://github.com/vim/vim/commit/c3ffc9b8d3015dc5280b297b4e3deb4f34944bd4 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 17 17:32:58 2018 +0200 patch 8.1.0066: nasty autocommand causes using freed memory Problem: Nasty autocommand causes using freed memory. (Dominique Pelle) Solution: Do not force executing autocommands if the value of 'syntax' or 'filetype' did not change.
author Christian Brabandt <cb@256bit.org>
date Sun, 17 Jun 2018 17:45:05 +0200
parents ae53a9274f50
children 6d949e552e99
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
799
6beb2c667935 updated for version 7.0b
vimboss
parents:
diff changeset
1 /* popupmnu.c */
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1121
diff changeset
2 void pum_display(pumitem_T *array, int size, int selected);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1121
diff changeset
3 void pum_redraw(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1121
diff changeset
4 void pum_undisplay(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1121
diff changeset
5 void pum_clear(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1121
diff changeset
6 int pum_visible(void);
14089
ae53a9274f50 patch 8.1.0062: popup menu broken if a callback changes the window layout
Christian Brabandt <cb@256bit.org>
parents: 13963
diff changeset
7 void pum_may_redraw(void);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1121
diff changeset
8 int pum_get_height(void);
12883
058e93aee621 patch 8.0.1318: terminal balloon only shows one line
Christian Brabandt <cb@256bit.org>
parents: 12865
diff changeset
9 int split_message(char_u *mesg, pumitem_T **array);
12865
ebb4f6c93598 patch 8.0.1309: cannot use 'balloonexpr' in a terminal
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
10 void ui_remove_balloon(void);
12883
058e93aee621 patch 8.0.1318: terminal balloon only shows one line
Christian Brabandt <cb@256bit.org>
parents: 12865
diff changeset
11 void ui_post_balloon(char_u *mesg, list_T *list);
12865
ebb4f6c93598 patch 8.0.1309: cannot use 'balloonexpr' in a terminal
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
12 void ui_may_remove_balloon(void);
13369
244ff1b6d2ad patch 8.0.1558: no right-click menu in a terminal
Christian Brabandt <cb@256bit.org>
parents: 12883
diff changeset
13 void pum_show_popupmenu(vimmenu_T *menu);
13963
1174611ad715 Vim 8.1 release
Christian Brabandt <cb@256bit.org>
parents: 13392
diff changeset
14 void pum_make_popup(char_u *path_name, int use_mouse_pos);
799
6beb2c667935 updated for version 7.0b
vimboss
parents:
diff changeset
15 /* vim: set ft=c : */