Karsten Hopp 27a48e
To: vim_dev@googlegroups.com
Karsten Hopp 27a48e
Subject: Patch 7.3.274
Karsten Hopp 27a48e
Fcc: outbox
Karsten Hopp 27a48e
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 27a48e
Mime-Version: 1.0
Karsten Hopp 27a48e
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 27a48e
Content-Transfer-Encoding: 8bit
Karsten Hopp 27a48e
------------
Karsten Hopp 27a48e
Karsten Hopp 27a48e
Patch 7.3.274
Karsten Hopp 27a48e
Problem:    With concealed characters tabs do not have the right size.
Karsten Hopp 27a48e
Solution:   Use VCOL_HLC instead of vcol. (Eiichi Sato)
Karsten Hopp 27a48e
Files:	    src/screen.c
Karsten Hopp 27a48e
Karsten Hopp 27a48e
Karsten Hopp 27a48e
*** ../vim-7.3.273/src/screen.c	2011-03-22 13:29:20.000000000 +0100
Karsten Hopp 27a48e
--- src/screen.c	2011-08-10 14:22:47.000000000 +0200
Karsten Hopp 27a48e
***************
Karsten Hopp 27a48e
*** 4252,4258 ****
Karsten Hopp 27a48e
  		{
Karsten Hopp 27a48e
  		    /* tab amount depends on current column */
Karsten Hopp 27a48e
  		    n_extra = (int)wp->w_buffer->b_p_ts
Karsten Hopp 27a48e
! 				   - vcol % (int)wp->w_buffer->b_p_ts - 1;
Karsten Hopp 27a48e
  #ifdef FEAT_MBYTE
Karsten Hopp 27a48e
  		    mb_utf8 = FALSE;	/* don't draw as UTF-8 */
Karsten Hopp 27a48e
  #endif
Karsten Hopp 27a48e
--- 4252,4258 ----
Karsten Hopp 27a48e
  		{
Karsten Hopp 27a48e
  		    /* tab amount depends on current column */
Karsten Hopp 27a48e
  		    n_extra = (int)wp->w_buffer->b_p_ts
Karsten Hopp 27a48e
! 				   - VCOL_HLC % (int)wp->w_buffer->b_p_ts - 1;
Karsten Hopp 27a48e
  #ifdef FEAT_MBYTE
Karsten Hopp 27a48e
  		    mb_utf8 = FALSE;	/* don't draw as UTF-8 */
Karsten Hopp 27a48e
  #endif
Karsten Hopp 27a48e
*** ../vim-7.3.273/src/version.c	2011-08-10 13:21:30.000000000 +0200
Karsten Hopp 27a48e
--- src/version.c	2011-08-10 14:23:38.000000000 +0200
Karsten Hopp 27a48e
***************
Karsten Hopp 27a48e
*** 711,712 ****
Karsten Hopp 27a48e
--- 711,714 ----
Karsten Hopp 27a48e
  {   /* Add new patch number below this line */
Karsten Hopp 27a48e
+ /**/
Karsten Hopp 27a48e
+     274,
Karsten Hopp 27a48e
  /**/
Karsten Hopp 27a48e
Karsten Hopp 27a48e
-- 
Karsten Hopp 27a48e
   Arthur pulls Pin out.  The MONK blesses the grenade as ...
Karsten Hopp 27a48e
ARTHUR:  (quietly) One, two, five ...
Karsten Hopp 27a48e
GALAHAD: Three, sir!
Karsten Hopp 27a48e
ARTHUR:  Three.
Karsten Hopp 27a48e
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 27a48e
Karsten Hopp 27a48e
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 27a48e
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 27a48e
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 27a48e
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///