0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 8.1.1303: not possible to hide a balloon

Problem:    Not possible to hide a balloon.
Solution:   Hide the balloon when balloon_show() is called with an empty
            string or list.  Add balloon_gettext().
This commit is contained in:
Bram Moolenaar
2019-05-09 13:50:16 +02:00
parent 06bd824869
commit be0a2597ae
8 changed files with 83 additions and 10 deletions

View File

@@ -75,7 +75,7 @@ typedef struct BalloonEvalStruct
#ifdef FEAT_VARTABS
int *vts; // vartabstop setting for this buffer
#endif
char_u *msg;
char_u *msg; // allocated: current text
#ifdef FEAT_GUI_MSWIN
void *tofree;
#endif