4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: synIDattr() doesn't support "sp" for special color.
12 Solution: Recognize "sp" and "sp#". (Matt Wozniski)
13 Files: runtime/doc/eval.txt, src/eval.c
16 *** ../vim-7.2.051/runtime/doc/eval.txt Fri Nov 28 10:59:57 2008
17 --- runtime/doc/eval.txt Thu Nov 27 22:17:13 2008
20 "fg" foreground color (GUI: color name used to set
21 the color, cterm: color number as a string,
23 ! "bg" background color (like "fg")
24 "fg#" like "fg", but for the GUI and the GUI is
25 running the name in "#RRGGBB" form
26 "bg#" like "fg#" for "bg"
28 "italic" "1" if italic
29 "reverse" "1" if reverse
31 "fg" foreground color (GUI: color name used to set
32 the color, cterm: color number as a string,
34 ! "bg" background color (as with "fg")
35 ! "sp" special color (as with "fg") |highlight-guisp|
36 "fg#" like "fg", but for the GUI and the GUI is
37 running the name in "#RRGGBB" form
38 "bg#" like "fg#" for "bg"
39 + "sp#" like "fg#" for "sp"
41 "italic" "1" if italic
42 "reverse" "1" if reverse
43 *** ../vim-7.2.051/src/eval.c Fri Nov 28 10:59:57 2008
44 --- src/eval.c Thu Nov 27 22:15:40 2008
47 p = highlight_has_attr(id, HL_INVERSE, modec);
50 ! case 's': /* standout */
51 ! p = highlight_has_attr(id, HL_STANDOUT, modec);
56 p = highlight_has_attr(id, HL_INVERSE, modec);
60 ! if (TOLOWER_ASC(what[1]) == 'p') /* sp[#] */
61 ! p = highlight_color(id, what, modec);
63 ! p = highlight_has_attr(id, HL_STANDOUT, modec);
67 *** ../vim-7.2.051/src/version.c Fri Nov 28 10:59:57 2008
68 --- src/version.c Fri Nov 28 11:13:45 2008
72 { /* Add new patch number below this line */
78 Not too long ago, a keyboard was something to make music with...
80 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
81 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
82 \\\ download, build and distribute -- http://www.A-A-P.org ///
83 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///