diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-06 19:25:22 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-06 19:25:22 +0100 |
commit | 638a4a7508082f8700b135953e4f9465f675a0f5 (patch) | |
tree | c87824b668f0fb641a60fa35e023f67ebb1631fe /src/vim.h | |
parent | fcf8a8743bdecc0ba28037b79b7cb2962de70b1d (diff) | |
download | vim-git-638a4a7508082f8700b135953e4f9465f675a0f5.tar.gz |
patch 8.1.2265: when popup with "botleft" does not fit it flips incorrectlyv8.1.2265
Problem: When popup with "botleft" does not fit it flips incorrectly.
Solution: Only flip when there is more space on the other side. Add the
"posinvert" option to disable flipping and do it in both
directions if enabled. (closes #5151)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -632,6 +632,7 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring); #define POPF_MAPPING 0x80 // mapping keys #define POPF_INFO 0x100 // used for info of popup menu #define POPF_INFO_MENU 0x200 // align info popup with popup menu +#define POPF_POSINVERT 0x400 // vertical position can be inverted #ifdef FEAT_TEXT_PROP # define WIN_IS_POPUP(wp) ((wp)->w_popup_flags != 0) |