ac57d93
To: vim-dev@vim.org
ac57d93
Subject: Patch 7.0.105
ac57d93
Fcc: outbox
ac57d93
From: Bram Moolenaar <Bram@moolenaar.net>
ac57d93
Mime-Version: 1.0
ac57d93
Content-Type: text/plain; charset=ISO-8859-1
ac57d93
Content-Transfer-Encoding: 8bit
ac57d93
------------
ac57d93
ac57d93
Patch 7.0.105
ac57d93
Problem:    When using incremental search the statusline ruler isn't updated.
ac57d93
	    (Christoph Koegl)
ac57d93
Solution:   Update the statusline when it contains the ruler.
ac57d93
Files:	    src/ex_getln.c
ac57d93
ac57d93
ac57d93
*** ../vim-7.0.104/src/ex_getln.c	Thu Sep 14 10:25:34 2006
ac57d93
--- src/ex_getln.c	Thu Sep 14 10:42:24 2006
ac57d93
***************
ac57d93
*** 1756,1761 ****
ac57d93
--- 1756,1766 ----
ac57d93
  		end_pos = curwin->w_cursor; /* shutup gcc 4 */
ac57d93
  
ac57d93
  	    validate_cursor();
ac57d93
+ # ifdef FEAT_WINDOWS
ac57d93
+ 	    /* May redraw the status line to show the cursor position. */
ac57d93
+ 	    if (p_ru && curwin->w_status_height > 0)
ac57d93
+ 		curwin->w_redr_status = TRUE;
ac57d93
+ # endif
ac57d93
  
ac57d93
  	    save_cmdline(&save_ccline);
ac57d93
  	    update_screen(SOME_VALID);
ac57d93
*** ../vim-7.0.104/src/version.c	Thu Sep 14 11:07:08 2006
ac57d93
--- src/version.c	Thu Sep 14 11:25:37 2006
ac57d93
***************
ac57d93
*** 668,669 ****
ac57d93
--- 668,671 ----
ac57d93
  {   /* Add new patch number below this line */
ac57d93
+ /**/
ac57d93
+     105,
ac57d93
  /**/
ac57d93
ac57d93
-- 
ac57d93
An indication you must be a manager:
ac57d93
You feel sorry for Dilbert's boss.
ac57d93
ac57d93
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
ac57d93
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
ac57d93
\\\        download, build and distribute -- http://www.A-A-P.org        ///
ac57d93
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///