comparison src/structs.h @ 18558:e5ef5d820b5b v8.1.2273

patch 8.1.2273: wrong default when "pos" is changed with popup_atcursor() Commit: https://github.com/vim/vim/commit/4dd8fe0b4f49ec267640fb457672452825b11df0 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 9 15:33:31 2019 +0100 patch 8.1.2273: wrong default when "pos" is changed with popup_atcursor() Problem: Wrong default when "pos" is changed with popup_atcursor(). Solution: Adjust the default line and col when "pos" is not the default value. (#5151)
author Bram Moolenaar <Bram@vim.org>
date Sat, 09 Nov 2019 15:45:04 +0100
parents 9e6d5a4abb1c
children 23fef64352a1
comparison
equal deleted inserted replaced
18557:6b3126903e2e 18558:e5ef5d820b5b
2111 typedef enum { 2111 typedef enum {
2112 POPPOS_BOTLEFT, 2112 POPPOS_BOTLEFT,
2113 POPPOS_TOPLEFT, 2113 POPPOS_TOPLEFT,
2114 POPPOS_BOTRIGHT, 2114 POPPOS_BOTRIGHT,
2115 POPPOS_TOPRIGHT, 2115 POPPOS_TOPRIGHT,
2116 POPPOS_CENTER 2116 POPPOS_CENTER,
2117 POPPOS_NONE
2117 } poppos_T; 2118 } poppos_T;
2118 2119
2119 typedef enum { 2120 typedef enum {
2120 POPCLOSE_NONE, 2121 POPCLOSE_NONE,
2121 POPCLOSE_BUTTON, 2122 POPCLOSE_BUTTON,