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