mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.1612: cannot show an existing buffer in a popup window
Problem: Cannot show an existing buffer in a popup window. Solution: Support buffer number argument in popup_create().
This commit is contained in:
10
src/vim.h
10
src/vim.h
@@ -614,8 +614,14 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring);
|
||||
#define VALID_TOPLINE 0x80 // w_topline is valid (for cursor position)
|
||||
|
||||
// Values for w_popup_flags.
|
||||
#define POPF_HIDDEN 1 // popup is not displayed
|
||||
#define POPF_HANDLED 2 // popup was just redrawn or filtered
|
||||
#define POPF_IS_POPUP 1 // this is a popup window
|
||||
#define POPF_HIDDEN 2 // popup is not displayed
|
||||
#define POPF_HANDLED 4 // popup was just redrawn or filtered
|
||||
#ifdef FEAT_TEXT_PROP
|
||||
# define WIN_IS_POPUP(wp) ((wp)->w_popup_flags != 0)
|
||||
#else
|
||||
# define WIN_IS_POPUP(wp) 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Terminal highlighting attribute bits.
|
||||
|
Reference in New Issue
Block a user