Mercurial > vim
comparison src/gui.c @ 12865:ebb4f6c93598 v8.0.1309
patch 8.0.1309: cannot use 'balloonexpr' in a terminal
commit https://github.com/vim/vim/commit/51b0f3701ecb440aa72ab6017c1df6940c0e0f6f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 18 18:52:04 2017 +0100
patch 8.0.1309: cannot use 'balloonexpr' in a terminal
Problem: Cannot use 'balloonexpr' in a terminal.
Solution: Add 'balloonevalterm' and add code to handle mouse movements in a
terminal. Initial implementation for Unix with GUI.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 18 Nov 2017 19:00:06 +0100 |
parents | 9ac41c3148ce |
children | 1a450ce6980c |
comparison
equal
deleted
inserted
replaced
12864:e98532b79dba | 12865:ebb4f6c93598 |
---|---|
738 * resized. */ | 738 * resized. */ |
739 win_new_shellsize(); | 739 win_new_shellsize(); |
740 | 740 |
741 #ifdef FEAT_BEVAL | 741 #ifdef FEAT_BEVAL |
742 /* Always create the Balloon Evaluation area, but disable it when | 742 /* Always create the Balloon Evaluation area, but disable it when |
743 * 'ballooneval' is off */ | 743 * 'ballooneval' is off. */ |
744 if (balloonEval != NULL) | |
745 vim_free(balloonEval); | |
746 balloonEvalForTerm = FALSE; | |
744 # ifdef FEAT_GUI_GTK | 747 # ifdef FEAT_GUI_GTK |
745 balloonEval = gui_mch_create_beval_area(gui.drawarea, NULL, | 748 balloonEval = gui_mch_create_beval_area(gui.drawarea, NULL, |
746 &general_beval_cb, NULL); | 749 &general_beval_cb, NULL); |
747 # else | 750 # else |
748 # if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) | 751 # if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) |