1
0
forked from aniani/vim

updated for version 7.2-023

This commit is contained in:
Bram Moolenaar
2008-10-02 16:04:05 +00:00
parent 34b6cb1209
commit 85595c5815
2 changed files with 13 additions and 3 deletions

View File

@@ -2439,9 +2439,17 @@ fold_line(wp, fold_count, foldinfo, lnum, row)
#ifdef FEAT_SYN_HL #ifdef FEAT_SYN_HL
/* Show 'cursorcolumn' in the fold line. */ /* Show 'cursorcolumn' in the fold line. */
if (wp->w_p_cuc && (int)wp->w_virtcol + txtcol < W_WIDTH(wp)) if (wp->w_p_cuc)
ScreenAttrs[off + wp->w_virtcol + txtcol] = hl_combine_attr( {
ScreenAttrs[off + wp->w_virtcol + txtcol], hl_attr(HLF_CUC)); txtcol += wp->w_virtcol;
if (wp->w_p_wrap)
txtcol -= wp->w_skipcol;
else
txtcol -= wp->w_leftcol;
if (txtcol >= 0 && txtcol < W_WIDTH(wp))
ScreenAttrs[off + txtcol] = hl_combine_attr(
ScreenAttrs[off + txtcol], hl_attr(HLF_CUC));
}
#endif #endif
SCREEN_LINE(row + W_WINROW(wp), W_WINCOL(wp), (int)W_WIDTH(wp), SCREEN_LINE(row + W_WINROW(wp), W_WINCOL(wp), (int)W_WIDTH(wp),

View File

@@ -676,6 +676,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
23,
/**/ /**/
22, 22,
/**/ /**/