Mercurial > vim
annotate src/proto/gui_athena.pro @ 24559:839145e0fdaa v8.2.2819
patch 8.2.2819: finishing an abbreviation with multi-byte char may not work
Commit: https://github.com/vim/vim/commit/4934ed34c3e2090d1963c89c629cd3ce81d3ecd1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 30 19:43:11 2021 +0200
patch 8.2.2819: finishing an abbreviation with multi-byte char may not work
Problem: Finishing an abbreviation with a multi-byte char may not work.
Solution: Escape K_SPECIAL in the typed character. (closes https://github.com/vim/vim/issues/8160)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 30 Apr 2021 19:45:04 +0200 |
parents | fcccc29bd386 |
children |
rev | line source |
---|---|
7 | 1 /* gui_athena.c */ |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
2 void gui_x11_create_widgets(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
3 void gui_x11_destroy_widgets(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
4 void gui_mch_set_toolbar_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
|
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_x11_set_back_color(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
7 void gui_mch_enable_menu(int flag); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
8 void gui_mch_set_menu_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
|
9 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
|
10 void gui_mch_new_menu_font(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
11 void gui_mch_new_tooltip_font(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
12 void gui_mch_new_tooltip_colors(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
13 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
|
14 void gui_mch_show_toolbar(int showit); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
15 int gui_mch_compute_toolbar_height(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
16 void gui_mch_get_toolbar_colors(Pixel *bgp, Pixel *fgp, Pixel *bsp, Pixel *tsp, Pixel *hsp); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
17 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
|
18 void gui_mch_new_menu_colors(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
19 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
|
20 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
|
21 void gui_mch_def_colors(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
22 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
|
23 void gui_mch_set_scrollbar_pos(scrollbar_T *sb, int x, int y, int w, int h); |
21355
fcccc29bd386
patch 8.2.1228: scrollbars not flush against the window edges when maximised
Bram Moolenaar <Bram@vim.org>
parents:
7668
diff
changeset
|
24 int gui_mch_get_scrollbar_xpadding(void); |
fcccc29bd386
patch 8.2.1228: scrollbars not flush against the window edges when maximised
Bram Moolenaar <Bram@vim.org>
parents:
7668
diff
changeset
|
25 int gui_mch_get_scrollbar_ypadding(void); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
26 void gui_mch_enable_scrollbar(scrollbar_T *sb, int flag); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
27 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
|
28 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
|
29 void gui_mch_set_scrollbar_colors(scrollbar_T *sb); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
30 Window gui_x11_get_wid(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
2684
diff
changeset
|
31 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
|
32 int gui_mch_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd); |
7 | 33 /* vim: set ft=c : */ |