|
Karsten Hopp |
ead1ad |
To: vim-dev@vim.org
|
|
Karsten Hopp |
ead1ad |
Subject: Patch 7.2.052
|
|
Karsten Hopp |
ead1ad |
Fcc: outbox
|
|
Karsten Hopp |
ead1ad |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
ead1ad |
Mime-Version: 1.0
|
|
Karsten Hopp |
ead1ad |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
ead1ad |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
ead1ad |
------------
|
|
Karsten Hopp |
ead1ad |
|
|
Karsten Hopp |
ead1ad |
Patch 7.2.052
|
|
Karsten Hopp |
ead1ad |
Problem: synIDattr() doesn't support "sp" for special color.
|
|
Karsten Hopp |
ead1ad |
Solution: Recognize "sp" and "sp#". (Matt Wozniski)
|
|
Karsten Hopp |
ead1ad |
Files: runtime/doc/eval.txt, src/eval.c
|
|
Karsten Hopp |
ead1ad |
|
|
Karsten Hopp |
ead1ad |
|
|
Karsten Hopp |
ead1ad |
*** ../vim-7.2.051/runtime/doc/eval.txt Fri Nov 28 10:59:57 2008
|
|
Karsten Hopp |
ead1ad |
--- runtime/doc/eval.txt Thu Nov 27 22:17:13 2008
|
|
Karsten Hopp |
ead1ad |
***************
|
|
Karsten Hopp |
ead1ad |
*** 5348,5357 ****
|
|
Karsten Hopp |
ead1ad |
"fg" foreground color (GUI: color name used to set
|
|
Karsten Hopp |
ead1ad |
the color, cterm: color number as a string,
|
|
Karsten Hopp |
ead1ad |
term: empty string)
|
|
Karsten Hopp |
ead1ad |
! "bg" background color (like "fg")
|
|
Karsten Hopp |
ead1ad |
"fg#" like "fg", but for the GUI and the GUI is
|
|
Karsten Hopp |
ead1ad |
running the name in "#RRGGBB" form
|
|
Karsten Hopp |
ead1ad |
"bg#" like "fg#" for "bg"
|
|
Karsten Hopp |
ead1ad |
"bold" "1" if bold
|
|
Karsten Hopp |
ead1ad |
"italic" "1" if italic
|
|
Karsten Hopp |
ead1ad |
"reverse" "1" if reverse
|
|
Karsten Hopp |
ead1ad |
--- 5359,5370 ----
|
|
Karsten Hopp |
ead1ad |
"fg" foreground color (GUI: color name used to set
|
|
Karsten Hopp |
ead1ad |
the color, cterm: color number as a string,
|
|
Karsten Hopp |
ead1ad |
term: empty string)
|
|
Karsten Hopp |
ead1ad |
! "bg" background color (as with "fg")
|
|
Karsten Hopp |
ead1ad |
! "sp" special color (as with "fg") |highlight-guisp|
|
|
Karsten Hopp |
ead1ad |
"fg#" like "fg", but for the GUI and the GUI is
|
|
Karsten Hopp |
ead1ad |
running the name in "#RRGGBB" form
|
|
Karsten Hopp |
ead1ad |
"bg#" like "fg#" for "bg"
|
|
Karsten Hopp |
ead1ad |
+ "sp#" like "fg#" for "sp"
|
|
Karsten Hopp |
ead1ad |
"bold" "1" if bold
|
|
Karsten Hopp |
ead1ad |
"italic" "1" if italic
|
|
Karsten Hopp |
ead1ad |
"reverse" "1" if reverse
|
|
Karsten Hopp |
ead1ad |
*** ../vim-7.2.051/src/eval.c Fri Nov 28 10:59:57 2008
|
|
Karsten Hopp |
ead1ad |
--- src/eval.c Thu Nov 27 22:15:40 2008
|
|
Karsten Hopp |
ead1ad |
***************
|
|
Karsten Hopp |
ead1ad |
*** 16648,16655 ****
|
|
Karsten Hopp |
ead1ad |
p = highlight_has_attr(id, HL_INVERSE, modec);
|
|
Karsten Hopp |
ead1ad |
break;
|
|
Karsten Hopp |
ead1ad |
|
|
Karsten Hopp |
ead1ad |
! case 's': /* standout */
|
|
Karsten Hopp |
ead1ad |
! p = highlight_has_attr(id, HL_STANDOUT, modec);
|
|
Karsten Hopp |
ead1ad |
break;
|
|
Karsten Hopp |
ead1ad |
|
|
Karsten Hopp |
ead1ad |
case 'u':
|
|
Karsten Hopp |
ead1ad |
--- 16648,16658 ----
|
|
Karsten Hopp |
ead1ad |
p = highlight_has_attr(id, HL_INVERSE, modec);
|
|
Karsten Hopp |
ead1ad |
break;
|
|
Karsten Hopp |
ead1ad |
|
|
Karsten Hopp |
ead1ad |
! case 's':
|
|
Karsten Hopp |
ead1ad |
! if (TOLOWER_ASC(what[1]) == 'p') /* sp[#] */
|
|
Karsten Hopp |
ead1ad |
! p = highlight_color(id, what, modec);
|
|
Karsten Hopp |
ead1ad |
! else /* standout */
|
|
Karsten Hopp |
ead1ad |
! p = highlight_has_attr(id, HL_STANDOUT, modec);
|
|
Karsten Hopp |
ead1ad |
break;
|
|
Karsten Hopp |
ead1ad |
|
|
Karsten Hopp |
ead1ad |
case 'u':
|
|
Karsten Hopp |
ead1ad |
*** ../vim-7.2.051/src/version.c Fri Nov 28 10:59:57 2008
|
|
Karsten Hopp |
ead1ad |
--- src/version.c Fri Nov 28 11:13:45 2008
|
|
Karsten Hopp |
ead1ad |
***************
|
|
Karsten Hopp |
ead1ad |
*** 678,679 ****
|
|
Karsten Hopp |
ead1ad |
--- 678,681 ----
|
|
Karsten Hopp |
ead1ad |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
ead1ad |
+ /**/
|
|
Karsten Hopp |
ead1ad |
+ 52,
|
|
Karsten Hopp |
ead1ad |
/**/
|
|
Karsten Hopp |
ead1ad |
|
|
Karsten Hopp |
ead1ad |
--
|
|
Karsten Hopp |
ead1ad |
Not too long ago, a keyboard was something to make music with...
|
|
Karsten Hopp |
ead1ad |
|
|
Karsten Hopp |
ead1ad |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
ead1ad |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
ead1ad |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
ead1ad |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|