Mercurial > vim
comparison src/structs.h @ 16855:19162ff4eacd v8.1.1429
patch 8.1.1429: "pos" option of popup window not supported yet
commit https://github.com/vim/vim/commit/ac1f1bc222b7de3cb2d3f1f2aa076f11c75e69de
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 30 21:24:26 2019 +0200
patch 8.1.1429: "pos" option of popup window not supported yet
Problem: "pos" option of popup window not supported yet.
Solution: Implement the option. Rename popup_getposition() to
popup_getpos().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 30 May 2019 21:30:04 +0200 |
parents | 032d5335987e |
children | a836d122231a |
comparison
equal
deleted
inserted
replaced
16854:a84036f2d3ec | 16855:19162ff4eacd |
---|---|
1980 // Currently all crypt methods work inplace. If one is added that isn't then | 1980 // Currently all crypt methods work inplace. If one is added that isn't then |
1981 // define this. | 1981 // define this. |
1982 // # define CRYPT_NOT_INPLACE 1 | 1982 // # define CRYPT_NOT_INPLACE 1 |
1983 #endif | 1983 #endif |
1984 | 1984 |
1985 #ifdef FEAT_TEXT_PROP | |
1986 typedef enum { | |
1987 POPPOS_BOTLEFT, | |
1988 POPPOS_TOPLEFT, | |
1989 POPPOS_BOTRIGHT, | |
1990 POPPOS_TOPRIGHT, | |
1991 POPPOS_CENTER | |
1992 } poppos_T; | |
1993 #endif | |
1985 | 1994 |
1986 /* | 1995 /* |
1987 * These are items normally related to a buffer. But when using ":ownsyntax" | 1996 * These are items normally related to a buffer. But when using ":ownsyntax" |
1988 * a window may have its own instance. | 1997 * a window may have its own instance. |
1989 */ | 1998 */ |
2871 int w_wincol; /* Leftmost column of window in screen. */ | 2880 int w_wincol; /* Leftmost column of window in screen. */ |
2872 int w_width; /* Width of window, excluding separation. */ | 2881 int w_width; /* Width of window, excluding separation. */ |
2873 int w_vsep_width; /* Number of separator columns (0 or 1). */ | 2882 int w_vsep_width; /* Number of separator columns (0 or 1). */ |
2874 pos_save_T w_save_cursor; /* backup of cursor pos and topline */ | 2883 pos_save_T w_save_cursor; /* backup of cursor pos and topline */ |
2875 #ifdef FEAT_TEXT_PROP | 2884 #ifdef FEAT_TEXT_PROP |
2876 int w_popup_flags; // PFL_ values | 2885 int w_popup_flags; // POPF_ values |
2886 poppos_T w_popup_pos; | |
2877 int w_zindex; | 2887 int w_zindex; |
2878 int w_minheight; // "minheight" for popup window | 2888 int w_minheight; // "minheight" for popup window |
2879 int w_minwidth; // "minwidth" for popup window | 2889 int w_minwidth; // "minwidth" for popup window |
2880 int w_maxheight; // "maxheight" for popup window | 2890 int w_maxheight; // "maxheight" for popup window |
2881 int w_maxwidth; // "maxwidth" for popup window | 2891 int w_maxwidth; // "maxwidth" for popup window |