Karsten Hopp 73e29b
To: vim_dev@googlegroups.com
Karsten Hopp 73e29b
Subject: Patch 7.4.721
Karsten Hopp 73e29b
Fcc: outbox
Karsten Hopp 73e29b
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 73e29b
Mime-Version: 1.0
Karsten Hopp 73e29b
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 73e29b
Content-Transfer-Encoding: 8bit
Karsten Hopp 73e29b
------------
Karsten Hopp 73e29b
Karsten Hopp 73e29b
Patch 7.4.721
Karsten Hopp 73e29b
Problem:    When 'list' is set Visual mode does not highlight anything in
Karsten Hopp 73e29b
            empty lines. (mgaleski)
Karsten Hopp 73e29b
Solution:   Check the value of lcs_eol in another place. (Christian Brabandt)
Karsten Hopp 73e29b
Files:      src/screen.c
Karsten Hopp 73e29b
Karsten Hopp 73e29b
Karsten Hopp 73e29b
*** ../vim-7.4.720/src/screen.c	2015-05-04 16:10:21.397000027 +0200
Karsten Hopp 73e29b
--- src/screen.c	2015-05-04 16:45:59.044932107 +0200
Karsten Hopp 73e29b
***************
Karsten Hopp 73e29b
*** 4703,4709 ****
Karsten Hopp 73e29b
  		    }
Karsten Hopp 73e29b
  		}
Karsten Hopp 73e29b
  		else if (c == NUL
Karsten Hopp 73e29b
! 			&& ((wp->w_p_list && lcs_eol > 0)
Karsten Hopp 73e29b
  			    || ((fromcol >= 0 || fromcol_prev >= 0)
Karsten Hopp 73e29b
  				&& tocol > vcol
Karsten Hopp 73e29b
  				&& VIsual_mode != Ctrl_V
Karsten Hopp 73e29b
--- 4703,4709 ----
Karsten Hopp 73e29b
  		    }
Karsten Hopp 73e29b
  		}
Karsten Hopp 73e29b
  		else if (c == NUL
Karsten Hopp 73e29b
! 			&& (wp->w_p_list
Karsten Hopp 73e29b
  			    || ((fromcol >= 0 || fromcol_prev >= 0)
Karsten Hopp 73e29b
  				&& tocol > vcol
Karsten Hopp 73e29b
  				&& VIsual_mode != Ctrl_V
Karsten Hopp 73e29b
***************
Karsten Hopp 73e29b
*** 4749,4755 ****
Karsten Hopp 73e29b
  			    c_extra = NUL;
Karsten Hopp 73e29b
  			}
Karsten Hopp 73e29b
  		    }
Karsten Hopp 73e29b
! 		    if (wp->w_p_list)
Karsten Hopp 73e29b
  			c = lcs_eol;
Karsten Hopp 73e29b
  		    else
Karsten Hopp 73e29b
  			c = ' ';
Karsten Hopp 73e29b
--- 4749,4755 ----
Karsten Hopp 73e29b
  			    c_extra = NUL;
Karsten Hopp 73e29b
  			}
Karsten Hopp 73e29b
  		    }
Karsten Hopp 73e29b
! 		    if (wp->w_p_list && lcs_eol > 0)
Karsten Hopp 73e29b
  			c = lcs_eol;
Karsten Hopp 73e29b
  		    else
Karsten Hopp 73e29b
  			c = ' ';
Karsten Hopp 73e29b
*** ../vim-7.4.720/src/version.c	2015-05-04 16:18:18.127624758 +0200
Karsten Hopp 73e29b
--- src/version.c	2015-05-04 16:51:10.045434371 +0200
Karsten Hopp 73e29b
***************
Karsten Hopp 73e29b
*** 743,744 ****
Karsten Hopp 73e29b
--- 743,746 ----
Karsten Hopp 73e29b
  {   /* Add new patch number below this line */
Karsten Hopp 73e29b
+ /**/
Karsten Hopp 73e29b
+     721,
Karsten Hopp 73e29b
  /**/
Karsten Hopp 73e29b
Karsten Hopp 73e29b
-- 
Karsten Hopp 73e29b
"Making it up?  Why should I want to make anything up?  Life's bad enough
Karsten Hopp 73e29b
as it is without wanting to invent any more of it."
Karsten Hopp 73e29b
		-- Marvin, the Paranoid Android in Douglas Adams'
Karsten Hopp 73e29b
		   "The Hitchhiker's Guide to the Galaxy"
Karsten Hopp 73e29b
Karsten Hopp 73e29b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 73e29b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 73e29b
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 73e29b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///