4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Can't compile with small features and syntax highlighting or the
13 Solution: Define LINE_ATTR whenever syntax highlighting or the diff feature
18 *** ../vim-7.0.035/src/screen.c Fri May 5 23:13:04 2006
19 --- src/screen.c Tue Jul 11 21:33:53 2006
23 int need_showbreak = FALSE;
25 ! #if defined(FEAT_SIGNS) || (defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS))
27 int line_attr = 0; /* atrribute for the whole line */
31 int need_showbreak = FALSE;
33 ! #if defined(FEAT_SIGNS) || (defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS)) \
34 ! || defined(FEAT_SYN_HL) || defined(FEAT_DIFF)
36 int line_attr = 0; /* atrribute for the whole line */
40 int prev_c = 0; /* previous Arabic character */
41 int prev_c1 = 0; /* first composing char for prev_c */
43 ! #if defined(FEAT_DIFF) || defined(LINE_ATTR)
44 int did_line_attr = 0;
48 int prev_c = 0; /* previous Arabic character */
49 int prev_c1 = 0; /* first composing char for prev_c */
51 ! #if defined(LINE_ATTR)
52 int did_line_attr = 0;
57 --ptr; /* put it back at the NUL */
60 ! #if defined(FEAT_DIFF) || defined(LINE_ATTR)
63 ! diff_hlf != (hlf_T)0
72 # ifdef FEAT_RIGHTLEFT
73 wp->w_p_rl ? (col >= 0) :
75 --ptr; /* put it back at the NUL */
78 ! #if defined(LINE_ATTR)
81 ! diff_hlf != (hlf_T)0 ||
85 # ifdef FEAT_RIGHTLEFT
86 wp->w_p_rl ? (col >= 0) :
89 * At end of the text line or just after the last character.
92 ! #if defined(FEAT_DIFF) || defined(LINE_ATTR)
97 * At end of the text line or just after the last character.
100 ! #if defined(LINE_ATTR)
101 || did_line_attr == 1
106 || prevcol == (long)match_hl[0].startcol
107 || prevcol == (long)match_hl[1].startcol
108 || prevcol == (long)match_hl[2].startcol)
109 ! # if defined(FEAT_DIFF) || defined(LINE_ATTR)
110 && did_line_attr <= 1
114 || prevcol == (long)match_hl[0].startcol
115 || prevcol == (long)match_hl[1].startcol
116 || prevcol == (long)match_hl[2].startcol)
117 ! # if defined(LINE_ATTR)
118 && did_line_attr <= 1
121 *** ../vim-7.0.035/src/version.c Fri Jun 23 21:36:49 2006
122 --- src/version.c Tue Jul 11 21:36:50 2006
126 { /* Add new patch number below this line */
132 Every engineer dreams about saving the universe and having sex with aliens.
133 This is much more glamorous than the real life of an engineer, which consists
134 of hiding from the universe and having sex without the participation of other
135 life forms. (Scott Adams - The Dilbert principle)
137 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
138 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
139 \\\ download, build and distribute -- http://www.A-A-P.org ///
140 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///