Mercurial > vim
changeset 3004:1bb6776fa8c4 v7.3.274
updated for version 7.3.274
Problem: With concealed characters tabs do not have the right size.
Solution: Use VCOL_HLC instead of vcol. (Eiichi Sato)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 10 Aug 2011 14:32:39 +0200 |
parents | eb0253baa1ee |
children | 0091c46cfc45 |
files | src/screen.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -4252,7 +4252,7 @@ win_line(wp, lnum, startrow, endrow, noc { /* tab amount depends on current column */ n_extra = (int)wp->w_buffer->b_p_ts - - vcol % (int)wp->w_buffer->b_p_ts - 1; + - VCOL_HLC % (int)wp->w_buffer->b_p_ts - 1; #ifdef FEAT_MBYTE mb_utf8 = FALSE; /* don't draw as UTF-8 */ #endif