Karsten Hopp 59dfee
To: vim_dev@googlegroups.com
Karsten Hopp 59dfee
Subject: Patch 7.3.123
Karsten Hopp 59dfee
Fcc: outbox
Karsten Hopp 59dfee
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 59dfee
Mime-Version: 1.0
Karsten Hopp 59dfee
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 59dfee
Content-Transfer-Encoding: 8bit
Karsten Hopp 59dfee
------------
Karsten Hopp 59dfee
Karsten Hopp 59dfee
Patch 7.3.123
Karsten Hopp 59dfee
Problem:    ml_get error when executing register being recorded into, deleting
Karsten Hopp 59dfee
	    lines and 'conceallevel' is set. (ZyX)
Karsten Hopp 59dfee
Solution:   Don't redraw a line for concealing when it doesn't exist.
Karsten Hopp 59dfee
Files:	    src/main.c
Karsten Hopp 59dfee
Karsten Hopp 59dfee
Karsten Hopp 59dfee
*** ../vim-7.3.122/src/main.c	2010-12-17 18:06:00.000000000 +0100
Karsten Hopp 59dfee
--- src/main.c	2011-02-15 16:09:41.000000000 +0100
Karsten Hopp 59dfee
***************
Karsten Hopp 59dfee
*** 1198,1204 ****
Karsten Hopp 59dfee
  			|| conceal_cursor_line(curwin)
Karsten Hopp 59dfee
  			|| need_cursor_line_redraw))
Karsten Hopp 59dfee
  	    {
Karsten Hopp 59dfee
! 		if (conceal_old_cursor_line != conceal_new_cursor_line)
Karsten Hopp 59dfee
  		    update_single_line(curwin, conceal_old_cursor_line);
Karsten Hopp 59dfee
  		update_single_line(curwin, conceal_new_cursor_line);
Karsten Hopp 59dfee
  		curwin->w_valid &= ~VALID_CROW;
Karsten Hopp 59dfee
--- 1198,1206 ----
Karsten Hopp 59dfee
  			|| conceal_cursor_line(curwin)
Karsten Hopp 59dfee
  			|| need_cursor_line_redraw))
Karsten Hopp 59dfee
  	    {
Karsten Hopp 59dfee
! 		if (conceal_old_cursor_line != conceal_new_cursor_line
Karsten Hopp 59dfee
! 			&& conceal_old_cursor_line
Karsten Hopp 59dfee
! 						<= curbuf->b_ml.ml_line_count)
Karsten Hopp 59dfee
  		    update_single_line(curwin, conceal_old_cursor_line);
Karsten Hopp 59dfee
  		update_single_line(curwin, conceal_new_cursor_line);
Karsten Hopp 59dfee
  		curwin->w_valid &= ~VALID_CROW;
Karsten Hopp 59dfee
*** ../vim-7.3.122/src/version.c	2011-02-15 15:27:00.000000000 +0100
Karsten Hopp 59dfee
--- src/version.c	2011-02-15 16:15:28.000000000 +0100
Karsten Hopp 59dfee
***************
Karsten Hopp 59dfee
*** 716,717 ****
Karsten Hopp 59dfee
--- 716,719 ----
Karsten Hopp 59dfee
  {   /* Add new patch number below this line */
Karsten Hopp 59dfee
+ /**/
Karsten Hopp 59dfee
+     123,
Karsten Hopp 59dfee
  /**/
Karsten Hopp 59dfee
Karsten Hopp 59dfee
-- 
Karsten Hopp 59dfee
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 59dfee
268. You get up in the morning and go online before getting your coffee.
Karsten Hopp 59dfee
Karsten Hopp 59dfee
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 59dfee
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 59dfee
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 59dfee
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///