Blame SOURCES/7.4.302

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