0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.1.1302: v:beval_text is not tested in Visual mode

Problem:    v:beval_text is not tested in Visual mode.
Solution:   Add a screenshot of the balloon in Visual mode.
This commit is contained in:
Bram Moolenaar
2019-05-08 22:55:16 +02:00
parent 0b75f7c97c
commit 06bd824869
5 changed files with 44 additions and 9 deletions

View File

@@ -2326,10 +2326,10 @@ do_mouse(
if (c == K_MOUSEMOVE)
{
/* Mouse moved without a button pressed. */
// Mouse moved without a button pressed.
#ifdef FEAT_BEVAL_TERM
ui_may_remove_balloon();
if (p_bevalterm && !VIsual_active)
if (p_bevalterm)
{
profile_setlimit(p_bdlay, &bevalexpr_due);
bevalexpr_due_set = TRUE;