Mercurial > vim
comparison src/vim.h @ 17604:506dd2efcbb2 v8.1.1799
patch 8.1.1799: cannot avoid mapping for a popup window
commit https://github.com/vim/vim/commit/749fa0af85232be1d44b77a09161f71cdbace62c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 3 16:18:07 2019 +0200
patch 8.1.1799: cannot avoid mapping for a popup window
Problem: Cannot avoid mapping for a popup window.
Solution: Add the "mapping" property, default TRUE.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 03 Aug 2019 16:30:06 +0200 |
parents | 892b4ea3bad6 |
children | 5278e5a2a4e3 |
comparison
equal
deleted
inserted
replaced
17603:3784be49d075 | 17604:506dd2efcbb2 |
---|---|
619 #define POPF_HANDLED 0x04 // popup was just redrawn or filtered | 619 #define POPF_HANDLED 0x04 // popup was just redrawn or filtered |
620 #define POPF_CURSORLINE 0x08 // popup is highlighting at the cursorline | 620 #define POPF_CURSORLINE 0x08 // popup is highlighting at the cursorline |
621 #define POPF_ON_CMDLINE 0x10 // popup overlaps command line | 621 #define POPF_ON_CMDLINE 0x10 // popup overlaps command line |
622 #define POPF_DRAG 0x20 // popup can be moved by dragging | 622 #define POPF_DRAG 0x20 // popup can be moved by dragging |
623 #define POPF_RESIZE 0x40 // popup can be resized by dragging | 623 #define POPF_RESIZE 0x40 // popup can be resized by dragging |
624 #define POPF_MAPPING 0x80 // mapping keys | |
624 | 625 |
625 #ifdef FEAT_TEXT_PROP | 626 #ifdef FEAT_TEXT_PROP |
626 # define WIN_IS_POPUP(wp) ((wp)->w_popup_flags != 0) | 627 # define WIN_IS_POPUP(wp) ((wp)->w_popup_flags != 0) |
627 #else | 628 #else |
628 # define WIN_IS_POPUP(wp) 0 | 629 # define WIN_IS_POPUP(wp) 0 |