Mercurial > vim
annotate src/proto/popupmenu.pro @ 24610:c1263588156b v8.2.2844
patch 8.2.2844: Vim9: memory leak when using searchpair()
Commit: https://github.com/vim/vim/commit/24f720998f852dd1ba861ec67d56625a507b915e
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 7 20:43:54 2021 +0200
patch 8.2.2844: Vim9: memory leak when using searchpair()
Problem: Vim9: memory leak when using searchpair().
Solution: Free the v_instr field.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 07 May 2021 20:45:03 +0200 |
parents | a878e5e892cf |
children | 7b07f361b1d4 |
rev | line source |
---|---|
18182
9b6bfce90778
patch 8.1.2086: missing a few changes for the renamed files
Bram Moolenaar <Bram@vim.org>
parents:
18174
diff
changeset
|
1 /* popupmenu.c */ |
18174
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 void pum_display(pumitem_T *array, int size, int selected); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 void pum_call_update_screen(void); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 int pum_under_menu(int row, int col); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 void pum_redraw(void); |
18396
ba5d8c5d77d7
patch 8.1.2192: cannot easily fill the info popup asynchronously
Bram Moolenaar <Bram@vim.org>
parents:
18182
diff
changeset
|
6 void pum_position_info_popup(win_T *wp); |
18174
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 void pum_undisplay(void); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 void pum_clear(void); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 int pum_visible(void); |
24527
a878e5e892cf
patch 8.2.2803: flicker when the popup menu has an info popup
Bram Moolenaar <Bram@vim.org>
parents:
18396
diff
changeset
|
10 int pum_redraw_in_same_position(void); |
18174
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 void pum_may_redraw(void); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 int pum_get_height(void); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 void pum_set_event_info(dict_T *dict); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 int split_message(char_u *mesg, pumitem_T **array); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 void ui_remove_balloon(void); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
16 void ui_post_balloon(char_u *mesg, list_T *list); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
17 void ui_may_remove_balloon(void); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
18 void pum_show_popupmenu(vimmenu_T *menu); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
19 void pum_make_popup(char_u *path_name, int use_mouse_pos); |
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
20 /* vim: set ft=c : */ |