Patch 7.3.772
Problem:    Cursor is at the wrong location and below the end of the file
            after doing substitutions with confirm flag: %s/x/y/c
            (Dominique Pelle)
Solution:   Update the cursor position. (Christian Brabandt & Dominique)
Files:      src/ex_cmds.c


*** ../vim-7.3.771/src/ex_cmds.c        2013-01-17 14:09:39.000000000 +0100
--- src/ex_cmds.c       2013-01-17 18:31:38.000000000 +0100
***************
*** 5200,5205 ****
--- 5200,5211 ----
            EMSG2(_(e_patnotf2), get_search_pat());
      }
  
+ #ifdef FEAT_FOLDING
+     if (do_ask && hasAnyFolding(curwin))
+       /* Cursor position may require updating */
+       changed_window_setting();
+ #endif
+ 
      vim_free(regmatch.regprog);
  }
  
*** ../vim-7.3.771/src/version.c        2013-01-17 17:37:31.000000000 +0100
--- src/version.c       2013-01-17 18:32:56.000000000 +0100
***************
*** 727,728 ****
--- 727,730 ----
  {   /* Add new patch number below this line */
+ /**/
+     772,
  /**/

-- 
Linux is just like a wigwam: no Windows, no Gates and an Apache inside.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui