]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.052
- new
[packages/vim.git] / 7.2.052
CommitLineData
65bfde4c
AG
1To: vim-dev@vim.org
2Subject: Patch 7.2.052
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.052
11Problem: synIDattr() doesn't support "sp" for special color.
12Solution: Recognize "sp" and "sp#". (Matt Wozniski)
13Files: runtime/doc/eval.txt, src/eval.c
14
15
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
18***************
19*** 5348,5357 ****
20 "fg" foreground color (GUI: color name used to set
21 the color, cterm: color number as a string,
22 term: empty 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"
27 "bold" "1" if bold
28 "italic" "1" if italic
29 "reverse" "1" if reverse
30--- 5359,5370 ----
31 "fg" foreground color (GUI: color name used to set
32 the color, cterm: color number as a string,
33 term: empty 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"
40 "bold" "1" if bold
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
45***************
46*** 16648,16655 ****
47 p = highlight_has_attr(id, HL_INVERSE, modec);
48 break;
49
50! case 's': /* standout */
51! p = highlight_has_attr(id, HL_STANDOUT, modec);
52 break;
53
54 case 'u':
55--- 16648,16658 ----
56 p = highlight_has_attr(id, HL_INVERSE, modec);
57 break;
58
59! case 's':
60! if (TOLOWER_ASC(what[1]) == 'p') /* sp[#] */
61! p = highlight_color(id, what, modec);
62! else /* standout */
63! p = highlight_has_attr(id, HL_STANDOUT, modec);
64 break;
65
66 case 'u':
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
69***************
70*** 678,679 ****
71--- 678,681 ----
72 { /* Add new patch number below this line */
73+ /**/
74+ 52,
75 /**/
76
77--
78Not too long ago, a keyboard was something to make music with...
79
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 ///
This page took 0.058228 seconds and 4 git commands to generate.