diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-11-18 22:13:31 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-11-18 22:13:31 +0100 |
commit | c3719bd87beca9f72d2e9f11e36d561c2c3b57b0 (patch) | |
tree | 2ca909ca8d4a040e48cc484b2ae7512014d3eaf0 /src/syntax.c | |
parent | c7d16dce2f180c8ebfc8105ad090b0ea2deedcdc (diff) | |
download | vim-git-c3719bd87beca9f72d2e9f11e36d561c2c3b57b0.tar.gz |
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUIv8.0.1312
Problem: balloon_show() only works in terminal when compiled with the GUI.
Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI
specific file.
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/syntax.c b/src/syntax.c index 8444db38c..d733f5bcf 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -7561,7 +7561,7 @@ do_highlight( if (gui.in_use) { gui_new_scrollbar_colors(); -# ifdef FEAT_BEVAL +# ifdef FEAT_BEVAL_GUI gui_mch_new_tooltip_colors(); # endif # ifdef FEAT_MENU @@ -8015,7 +8015,7 @@ do_highlight( gui.scroll_fg_pixel = i; do_colors = TRUE; } -# ifdef FEAT_BEVAL +# ifdef FEAT_BEVAL_GUI if (is_tooltip_group && gui.tooltip_fg_pixel != i) { gui.tooltip_fg_pixel = i; @@ -8066,7 +8066,7 @@ do_highlight( gui.scroll_bg_pixel = i; do_colors = TRUE; } -# ifdef FEAT_BEVAL +# ifdef FEAT_BEVAL_GUI if (is_tooltip_group && gui.tooltip_bg_pixel != i) { gui.tooltip_bg_pixel = i; @@ -8252,7 +8252,7 @@ do_highlight( if (gui.in_use && do_colors) gui_new_scrollbar_colors(); } -# ifdef FEAT_BEVAL +# ifdef FEAT_BEVAL_GUI else if (is_tooltip_group) { if (gui.in_use && do_colors) @@ -8431,7 +8431,7 @@ set_normal_colors(void) # endif must_redraw = CLEAR; } -# ifdef FEAT_BEVAL +# ifdef FEAT_BEVAL_GUI if (set_group_colors((char_u *)"Tooltip", &gui.tooltip_fg_pixel, &gui.tooltip_bg_pixel, FALSE, FALSE, TRUE)) @@ -8673,7 +8673,7 @@ hl_do_font( # endif gui_mch_new_menu_font(); } -# ifdef FEAT_BEVAL +# ifdef FEAT_BEVAL_GUI if (do_tooltip) { /* The Athena widget set cannot currently handle switching between |