Mercurial > vim
comparison src/screen.c @ 820:57c7403f6599
updated for version 7.0c11
author | vimboss |
---|---|
date | Thu, 06 Apr 2006 20:18:50 +0000 |
parents | 23f82b5d2814 |
children | 1cdd2661f34c |
comparison
equal
deleted
inserted
replaced
819:23f82b5d2814 | 820:57c7403f6599 |
---|---|
4294 /* Highlight 'cursorcolumn' past end of the line. */ | 4294 /* Highlight 'cursorcolumn' past end of the line. */ |
4295 if (wp->w_p_wrap) | 4295 if (wp->w_p_wrap) |
4296 v = wp->w_skipcol; | 4296 v = wp->w_skipcol; |
4297 else | 4297 else |
4298 v = wp->w_leftcol; | 4298 v = wp->w_leftcol; |
4299 if (vcol < v + col) /* line ends before left margin */ | 4299 /* check if line ends before left margin */ |
4300 vcol = v + col; | 4300 if (vcol < v + col - win_col_off(wp)) |
4301 | |
4302 vcol = v + col - win_col_off(wp); | |
4301 if (wp->w_p_cuc | 4303 if (wp->w_p_cuc |
4302 && (int)wp->w_virtcol >= vcol | 4304 && (int)wp->w_virtcol >= vcol |
4303 && (int)wp->w_virtcol < W_WIDTH(wp) * (row - startrow + 1) | 4305 && (int)wp->w_virtcol < W_WIDTH(wp) * (row - startrow + 1) |
4304 + v | 4306 + v |
4305 && lnum != wp->w_cursor.lnum | 4307 && lnum != wp->w_cursor.lnum |