changeset 2553:37d3f90f5203 vim73

Conceal feature caused the 'cursorline' highlighting to stop early.
author Bram Moolenaar <bram@vim.org>
date Fri, 13 Aug 2010 15:24:39 +0200
parents 4c97f71b12d9
children 7abef60aca22
files runtime/doc/todo.txt src/screen.c
diffstat 2 files changed, 12 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt*      For Vim version 7.3f.  Last change: 2010 Aug 12
+*todo.txt*      For Vim version 7.3f.  Last change: 2010 Aug 13
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -30,10 +30,12 @@ be worked on, but only if you sponsor Vi
 							*known-bugs*
 -------------------- Known bugs and current work -----------------------
 
-'cursorline' stops too early in a help file, caused by conceal feature.
-
 Have a close look at :find completion, anything that could be wrong?
 
+Patch for :python + :py3. (James Vega, Roland Puntaier, 2010 Aug 12)
+
+Patch for crash with cmdline editing functions. (Dominique Pelle, 2010 Aug 12)
+
 Test 73 fails on MS-Windows when compiled with DJGPP.
 :find completion with 'path' set to "./**" results in full path for
 "./subdir/file", should shorten to start with "./".
@@ -60,6 +62,8 @@ Editing a file with a ^M with 'ff' set t
 Problem producing tags file when hebrew.frx is present.  It has a BOM.
 Results in E670. (Tony Mechelynck, 2010 May 2)
 
+setpos() does not resture cursor position after :normal. (Tyru, 2010 Aug 11)
+
 'cindent' not correct when 'list' is set. (Zdravi Korusef, 2010 Apr 15)
 
 ":helpgrep" does not put the cursor in the correct column when preceded by
--- a/src/screen.c
+++ b/src/screen.c
@@ -4399,7 +4399,11 @@ win_line(wp, lnum, startrow, endrow, noc
 # ifdef FEAT_RIGHTLEFT
 			    wp->w_p_rl ? (col >= 0) :
 # endif
-			    (col < W_WIDTH(wp))))
+			    (col
+# ifdef FEAT_CONCEAL
+				- boguscols
+# endif
+					    < W_WIDTH(wp))))
 		{
 		    /* Highlight until the right side of the window */
 		    c = ' ';