Patch 7.4.1549 (after 7.4.1547)
Problem: Test for syntax attributes fails in Win32 GUI.
Solution: Use an existing font name.
Files: src/testdir/test_syn_attr.vim
*** ../vim-7.4.1548/src/testdir/test_syn_attr.vim 2016-03-12
19:22:43.781293285 +0100
--- src/testdir/test_syn_attr.vim 2016-03-12 20:00:38.369534158 +0100
***************
*** 23,31 ****
call assert_equal('', synIDattr(hlID("Mine"), "undercurl", 'gui'))
if has('gui')
! hi Mine guifg=blue guibg=red font=something
call assert_equal('blue', synIDattr(hlID("Mine"), "fg", 'gui'))
call assert_equal('red', synIDattr(hlID("Mine"), "bg", 'gui'))
! call assert_equal('something', synIDattr(hlID("Mine"), "font", 'gui'))
endif
endfunc
--- 23,35 ----
call assert_equal('', synIDattr(hlID("Mine"), "undercurl", 'gui'))
if has('gui')
! let fontname = getfontname()
! if fontname == ''
! let fontname = 'something'
! endif
! exe 'hi Mine guifg=blue guibg=red font=' . escape(fontname, ' \')
call assert_equal('blue', synIDattr(hlID("Mine"), "fg", 'gui'))
call assert_equal('red', synIDattr(hlID("Mine"), "bg", 'gui'))
! call assert_equal(fontname, synIDattr(hlID("Mine"), "font", 'gui'))
endif
endfunc
*** ../vim-7.4.1548/src/version.c 2016-03-12 19:33:43.430403350 +0100
--- src/version.c 2016-03-12 20:14:30.068855070 +0100
***************
*** 745,746 ****
--- 745,748 ----
{ /* Add new patch number below this line */
+ /**/
+ 1549,
/**/
--
Time is an illusion. Lunchtime doubly so.
-- Ford Prefect, in Douglas Adams'
"The Hitchhiker's Guide to the Galaxy"
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.