Karsten Hopp 949ffb
To: vim-dev@vim.org
Karsten Hopp 949ffb
Subject: Patch 7.2.140
Karsten Hopp 949ffb
Fcc: outbox
Karsten Hopp 949ffb
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 949ffb
Mime-Version: 1.0
Karsten Hopp 949ffb
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 949ffb
Content-Transfer-Encoding: 8bit
Karsten Hopp 949ffb
------------
Karsten Hopp 949ffb
Karsten Hopp 949ffb
Patch 7.2.140
Karsten Hopp 949ffb
Problem:    Diff highlighting isn't displayed before the Visual area if it
Karsten Hopp 949ffb
	    starts at the cursor position. (Markus Heidelberg)
Karsten Hopp 949ffb
Solution:   Also check fromcol_prev.
Karsten Hopp 949ffb
Files:	    src/screen.c
Karsten Hopp 949ffb
Karsten Hopp 949ffb
Karsten Hopp 949ffb
*** ../vim-7.2.139/src/screen.c	Sun Feb 22 21:12:22 2009
Karsten Hopp 949ffb
--- src/screen.c	Wed Mar 11 13:59:24 2009
Karsten Hopp 949ffb
***************
Karsten Hopp 949ffb
*** 3555,3561 ****
Karsten Hopp 949ffb
  		/* Use line_attr when not in the Visual or 'incsearch' area
Karsten Hopp 949ffb
  		 * (area_attr may be 0 when "noinvcur" is set). */
Karsten Hopp 949ffb
  	    else if (line_attr != 0 && ((fromcol == -10 && tocol == MAXCOL)
Karsten Hopp 949ffb
! 					|| (vcol < fromcol || vcol >= tocol)))
Karsten Hopp 949ffb
  		char_attr = line_attr;
Karsten Hopp 949ffb
  #endif
Karsten Hopp 949ffb
  	    else
Karsten Hopp 949ffb
--- 3555,3562 ----
Karsten Hopp 949ffb
  		/* Use line_attr when not in the Visual or 'incsearch' area
Karsten Hopp 949ffb
  		 * (area_attr may be 0 when "noinvcur" is set). */
Karsten Hopp 949ffb
  	    else if (line_attr != 0 && ((fromcol == -10 && tocol == MAXCOL)
Karsten Hopp 949ffb
! 				|| vcol < fromcol || vcol_prev < fromcol_prev
Karsten Hopp 949ffb
! 				|| vcol >= tocol))
Karsten Hopp 949ffb
  		char_attr = line_attr;
Karsten Hopp 949ffb
  #endif
Karsten Hopp 949ffb
  	    else
Karsten Hopp 949ffb
*** ../vim-7.2.139/src/version.c	Wed Mar 11 17:27:46 2009
Karsten Hopp 949ffb
--- src/version.c	Wed Mar 11 17:42:19 2009
Karsten Hopp 949ffb
***************
Karsten Hopp 949ffb
*** 678,679 ****
Karsten Hopp 949ffb
--- 678,681 ----
Karsten Hopp 949ffb
  {   /* Add new patch number below this line */
Karsten Hopp 949ffb
+ /**/
Karsten Hopp 949ffb
+     140,
Karsten Hopp 949ffb
  /**/
Karsten Hopp 949ffb
Karsten Hopp 949ffb
-- 
Karsten Hopp 949ffb
Some of the well know MS-Windows errors:
Karsten Hopp 949ffb
	EMEMORY		Memory error caused by..., eh...
Karsten Hopp 949ffb
	ELICENSE	Your license has expired, give us more money!
Karsten Hopp 949ffb
	EMOUSE		Mouse moved, reinstall Windows
Karsten Hopp 949ffb
	EILLEGAL	Illegal error, you are not allowed to see this
Karsten Hopp 949ffb
	EVIRUS		Undetectable virus found
Karsten Hopp 949ffb
Karsten Hopp 949ffb
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 949ffb
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 949ffb
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 949ffb
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///