3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.302
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.302
3ef2ca
Problem:    Signs placed with 'foldcolumn' set don't show up after filler
3ef2ca
	    lines.
3ef2ca
Solution:   Take filler lines into account. (Olaf Dabrunz)
3ef2ca
Files:	    src/screen.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.301/src/screen.c	2014-05-13 20:19:53.573808877 +0200
3ef2ca
--- src/screen.c	2014-05-22 15:27:11.966428633 +0200
3ef2ca
***************
3ef2ca
*** 3553,3563 ****
3ef2ca
  		draw_state = WL_SIGN;
3ef2ca
  		/* Show the sign column when there are any signs in this
3ef2ca
  		 * buffer or when using Netbeans. */
3ef2ca
! 		if (draw_signcolumn(wp)
3ef2ca
! # ifdef FEAT_DIFF
3ef2ca
! 			&& filler_todo <= 0
3ef2ca
! # endif
3ef2ca
! 		   )
3ef2ca
  		{
3ef2ca
  		    int	text_sign;
3ef2ca
  # ifdef FEAT_SIGN_ICONS
3ef2ca
--- 3553,3559 ----
3ef2ca
  		draw_state = WL_SIGN;
3ef2ca
  		/* Show the sign column when there are any signs in this
3ef2ca
  		 * buffer or when using Netbeans. */
3ef2ca
! 		if (draw_signcolumn(wp))
3ef2ca
  		{
3ef2ca
  		    int	text_sign;
3ef2ca
  # ifdef FEAT_SIGN_ICONS
3ef2ca
***************
3ef2ca
*** 3569,3575 ****
3ef2ca
  		    char_attr = hl_attr(HLF_SC);
3ef2ca
  		    n_extra = 2;
3ef2ca
  
3ef2ca
! 		    if (row == startrow)
3ef2ca
  		    {
3ef2ca
  			text_sign = buf_getsigntype(wp->w_buffer, lnum,
3ef2ca
  								   SIGN_TEXT);
3ef2ca
--- 3565,3575 ----
3ef2ca
  		    char_attr = hl_attr(HLF_SC);
3ef2ca
  		    n_extra = 2;
3ef2ca
  
3ef2ca
! 		    if (row == startrow
3ef2ca
! #ifdef FEAT_DIFF
3ef2ca
! 			    + filler_lines && filler_todo <= 0
3ef2ca
! #endif
3ef2ca
! 			    )
3ef2ca
  		    {
3ef2ca
  			text_sign = buf_getsigntype(wp->w_buffer, lnum,
3ef2ca
  								   SIGN_TEXT);
3ef2ca
*** ../vim-7.4.301/src/version.c	2014-05-22 15:17:24.706440568 +0200
3ef2ca
--- src/version.c	2014-05-22 15:46:00.058405705 +0200
3ef2ca
***************
3ef2ca
*** 736,737 ****
3ef2ca
--- 736,739 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     302,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
hundred-and-one symptoms of being an internet addict:
3ef2ca
192. Your boss asks you to "go fer" coffee and you come up with 235 FTP sites.
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///