Mercurial > vim
annotate src/proto/gui_gtk.pro @ 16495:899db156cce3 v8.1.1251
patch 8.1.1251: no test for completion of mapping keys
commit https://github.com/vim/vim/commit/2cb9f0253228478ec27265ff40f59c629874d695
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 3 15:13:57 2019 +0200
patch 8.1.1251: no test for completion of mapping keys
Problem: No test for completion of mapping keys.
Solution: Add a test. Also clean up the code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 03 May 2019 15:15:05 +0200 |
parents | 21b0a39d13ed |
children | fcccc29bd386 |
rev | line source |
---|---|
7 | 1 /* gui_gtk.c */ |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
2 void gui_gtk_register_stock_icons(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
3 void gui_mch_add_menu(vimmenu_T *menu, int idx); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
4 void gui_mch_add_menu_item(vimmenu_T *menu, int idx); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
5 void gui_mch_set_text_area_pos(int x, int y, int w, int h); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
6 void gui_gtk_set_mnemonics(int enable); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
7 void gui_mch_toggle_tearoffs(int enable); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
8 void gui_mch_menu_set_tip(vimmenu_T *menu); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
9 void gui_mch_destroy_menu(vimmenu_T *menu); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
10 void gui_mch_set_scrollbar_thumb(scrollbar_T *sb, long val, long size, long max); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
11 void gui_mch_set_scrollbar_pos(scrollbar_T *sb, int x, int y, int w, int h); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
12 void gui_mch_create_scrollbar(scrollbar_T *sb, int orient); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
13 void gui_mch_destroy_scrollbar(scrollbar_T *sb); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
14 char_u *gui_mch_browse(int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
15 char_u *gui_mch_browsedir(char_u *title, char_u *initdir); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
16 int gui_mch_dialog(int type, char_u *title, char_u *message, char_u *buttons, int def_but, char_u *textfield, int ex_cmd); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
17 void gui_mch_show_popupmenu(vimmenu_T *menu); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
18 void gui_make_popup(char_u *path_name, int mouse_pos); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
19 void gui_mch_find_dialog(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
20 void gui_mch_replace_dialog(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
21 void ex_helpfind(exarg_T *eap); |
7 | 22 /* vim: set ft=c : */ |