Mercurial > vim
annotate src/proto/popupmenu.pro @ 34569:f41e8218775a v9.1.0183
patch 9.1.0183: Wrong display or screenpos() result when toggling diff mode
Commit: https://github.com/vim/vim/commit/9e7f1fc2f159d58b2a4cd4b7060bead126fead49
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat Mar 16 09:40:22 2024 +0100
patch 9.1.0183: Wrong display or screenpos() result when toggling diff mode
Problem: Wrong display or screenpos() result when toggling diff mode.
Solution: Reset w_skipcol when disabling 'wrap'. Reset w_leftcol when
enabling 'wrap' (zeertzjq).
fixes: #14210
closes: #14211
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 16 Mar 2024 09:45:05 +0100 |
parents | 7b07f361b1d4 |
children |
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); |
26165
7b07f361b1d4
patch 8.2.3614: zindex of popup windows not used when redrawing popup menu
Bram Moolenaar <Bram@vim.org>
parents:
24527
diff
changeset
|
4 int pum_under_menu(int row, int col, int only_redrawing); |
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
|
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 : */ |