Mercurial > vim
comparison src/vim.h @ 17225:09fa437d33d8 v8.1.1612
patch 8.1.1612: cannot show an existing buffer in a popup window
commit https://github.com/vim/vim/commit/5b8cfedfbd19a71a30c73cf44b0aec3da7fc1a24
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 30 22:16:10 2019 +0200
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().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 30 Jun 2019 22:30:05 +0200 |
parents | f16cee6adf29 |
children | 6e756ad5ef1a |
comparison
equal
deleted
inserted
replaced
17224:e92df9dfef0f | 17225:09fa437d33d8 |
---|---|
612 #define VALID_BOTLINE 0x20 // w_botine and w_empty_rows are valid | 612 #define VALID_BOTLINE 0x20 // w_botine and w_empty_rows are valid |
613 #define VALID_BOTLINE_AP 0x40 // w_botine is approximated | 613 #define VALID_BOTLINE_AP 0x40 // w_botine is approximated |
614 #define VALID_TOPLINE 0x80 // w_topline is valid (for cursor position) | 614 #define VALID_TOPLINE 0x80 // w_topline is valid (for cursor position) |
615 | 615 |
616 // Values for w_popup_flags. | 616 // Values for w_popup_flags. |
617 #define POPF_HIDDEN 1 // popup is not displayed | 617 #define POPF_IS_POPUP 1 // this is a popup window |
618 #define POPF_HANDLED 2 // popup was just redrawn or filtered | 618 #define POPF_HIDDEN 2 // popup is not displayed |
619 #define POPF_HANDLED 4 // popup was just redrawn or filtered | |
620 #ifdef FEAT_TEXT_PROP | |
621 # define WIN_IS_POPUP(wp) ((wp)->w_popup_flags != 0) | |
622 #else | |
623 # define WIN_IS_POPUP(wp) 0 | |
624 #endif | |
619 | 625 |
620 /* | 626 /* |
621 * Terminal highlighting attribute bits. | 627 * Terminal highlighting attribute bits. |
622 * Attributes above HL_ALL are used for syntax highlighting. | 628 * Attributes above HL_ALL are used for syntax highlighting. |
623 */ | 629 */ |