Mercurial > vim
comparison src/syntax.c @ 12082:504df4aa84c6 v8.0.0921
patch 8.0.0921: terminal window cursor shape not supported in the GUI
commit https://github.com/vim/vim/commit/3d9bdfebf1a8c1eec1c3e1cff6fbb60b3d98f02a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 12 22:55:58 2017 +0200
patch 8.0.0921: terminal window cursor shape not supported in the GUI
Problem: Terminal window cursor shape not supported in the GUI.
Solution: Use the terminal window cursor shape in the GUI.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 12 Aug 2017 23:00:04 +0200 |
parents | e1b34958f118 |
children | f306e6decaf9 |
comparison
equal
deleted
inserted
replaced
12081:318726cc2e48 | 12082:504df4aa84c6 |
---|---|
101 static int hl_has_settings(int idx, int check_link); | 101 static int hl_has_settings(int idx, int check_link); |
102 static void highlight_clear(int idx); | 102 static void highlight_clear(int idx); |
103 | 103 |
104 #if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) | 104 #if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) |
105 static void gui_do_one_color(int idx, int do_menu, int do_tooltip); | 105 static void gui_do_one_color(int idx, int do_menu, int do_tooltip); |
106 static guicolor_T color_name2handle(char_u *name); | |
107 #endif | 106 #endif |
108 #ifdef FEAT_GUI | 107 #ifdef FEAT_GUI |
109 static int set_group_colors(char_u *name, guicolor_T *fgp, guicolor_T *bgp, int do_menu, int use_norm, int do_tooltip); | 108 static int set_group_colors(char_u *name, guicolor_T *fgp, guicolor_T *bgp, int do_menu, int use_norm, int do_tooltip); |
110 static GuiFont font_name2handle(char_u *name); | 109 static GuiFont font_name2handle(char_u *name); |
111 # ifdef FEAT_XFONTSET | 110 # ifdef FEAT_XFONTSET |
8620 #if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) || defined(PROTO) | 8619 #if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) || defined(PROTO) |
8621 /* | 8620 /* |
8622 * Return the handle for a color name. | 8621 * Return the handle for a color name. |
8623 * Returns INVALCOLOR when failed. | 8622 * Returns INVALCOLOR when failed. |
8624 */ | 8623 */ |
8625 static guicolor_T | 8624 guicolor_T |
8626 color_name2handle(char_u *name) | 8625 color_name2handle(char_u *name) |
8627 { | 8626 { |
8628 if (STRCMP(name, "NONE") == 0) | 8627 if (STRCMP(name, "NONE") == 0) |
8629 return INVALCOLOR; | 8628 return INVALCOLOR; |
8630 | 8629 |