|
Karsten Hopp |
05dfdd |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
05dfdd |
Subject: Patch 7.4.318
|
|
Karsten Hopp |
05dfdd |
Fcc: outbox
|
|
Karsten Hopp |
05dfdd |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
05dfdd |
Mime-Version: 1.0
|
|
Karsten Hopp |
05dfdd |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
05dfdd |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
05dfdd |
------------
|
|
Karsten Hopp |
05dfdd |
|
|
Karsten Hopp |
05dfdd |
Patch 7.4.318
|
|
Karsten Hopp |
05dfdd |
Problem: Check for whether a highlight group has settings ignores fg and bg
|
|
Karsten Hopp |
05dfdd |
color settings.
|
|
Karsten Hopp |
05dfdd |
Solution: Also check cterm and GUI color settings. (Christian Brabandt)
|
|
Karsten Hopp |
05dfdd |
Files: src/syntax.c
|
|
Karsten Hopp |
05dfdd |
|
|
Karsten Hopp |
05dfdd |
|
|
Karsten Hopp |
05dfdd |
*** ../vim-7.4.317/src/syntax.c 2014-03-23 15:12:29.939264336 +0100
|
|
Karsten Hopp |
05dfdd |
--- src/syntax.c 2014-06-12 12:16:13.851530931 +0200
|
|
Karsten Hopp |
05dfdd |
***************
|
|
Karsten Hopp |
05dfdd |
*** 8043,8050 ****
|
|
Karsten Hopp |
05dfdd |
--- 8043,8056 ----
|
|
Karsten Hopp |
05dfdd |
{
|
|
Karsten Hopp |
05dfdd |
return ( HL_TABLE()[idx].sg_term_attr != 0
|
|
Karsten Hopp |
05dfdd |
|| HL_TABLE()[idx].sg_cterm_attr != 0
|
|
Karsten Hopp |
05dfdd |
+ || HL_TABLE()[idx].sg_cterm_fg != 0
|
|
Karsten Hopp |
05dfdd |
+ || HL_TABLE()[idx].sg_cterm_bg != 0
|
|
Karsten Hopp |
05dfdd |
#ifdef FEAT_GUI
|
|
Karsten Hopp |
05dfdd |
|| HL_TABLE()[idx].sg_gui_attr != 0
|
|
Karsten Hopp |
05dfdd |
+ || HL_TABLE()[idx].sg_gui_fg_name != NULL
|
|
Karsten Hopp |
05dfdd |
+ || HL_TABLE()[idx].sg_gui_bg_name != NULL
|
|
Karsten Hopp |
05dfdd |
+ || HL_TABLE()[idx].sg_gui_sp_name != NULL
|
|
Karsten Hopp |
05dfdd |
+ || HL_TABLE()[idx].sg_font_name != NUL
|
|
Karsten Hopp |
05dfdd |
#endif
|
|
Karsten Hopp |
05dfdd |
|| (check_link && (HL_TABLE()[idx].sg_set & SG_LINK)));
|
|
Karsten Hopp |
05dfdd |
}
|
|
Karsten Hopp |
05dfdd |
*** ../vim-7.4.317/src/version.c 2014-06-12 11:49:42.219470717 +0200
|
|
Karsten Hopp |
05dfdd |
--- src/version.c 2014-06-12 12:17:25.607533645 +0200
|
|
Karsten Hopp |
05dfdd |
***************
|
|
Karsten Hopp |
05dfdd |
*** 736,737 ****
|
|
Karsten Hopp |
05dfdd |
--- 736,739 ----
|
|
Karsten Hopp |
05dfdd |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
05dfdd |
+ /**/
|
|
Karsten Hopp |
05dfdd |
+ 318,
|
|
Karsten Hopp |
05dfdd |
/**/
|
|
Karsten Hopp |
05dfdd |
|
|
Karsten Hopp |
05dfdd |
--
|
|
Karsten Hopp |
05dfdd |
The software said it requires Windows 95 or better, so I installed Linux.
|
|
Karsten Hopp |
05dfdd |
|
|
Karsten Hopp |
05dfdd |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
05dfdd |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
05dfdd |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
05dfdd |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|