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