|
Karsten Hopp |
a43378 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
a43378 |
Subject: Patch 7.3.772
|
|
Karsten Hopp |
a43378 |
Fcc: outbox
|
|
Karsten Hopp |
a43378 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
a43378 |
Mime-Version: 1.0
|
|
Karsten Hopp |
a43378 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
a43378 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
a43378 |
------------
|
|
Karsten Hopp |
a43378 |
|
|
Karsten Hopp |
a43378 |
Patch 7.3.772
|
|
Karsten Hopp |
a43378 |
Problem: Cursor is at the wrong location and below the end of the file
|
|
Karsten Hopp |
a43378 |
after doing substitutions with confirm flag: %s/x/y/c
|
|
Karsten Hopp |
a43378 |
(Dominique Pelle)
|
|
Karsten Hopp |
a43378 |
Solution: Update the cursor position. (Christian Brabandt & Dominique)
|
|
Karsten Hopp |
a43378 |
Files: src/ex_cmds.c
|
|
Karsten Hopp |
a43378 |
|
|
Karsten Hopp |
a43378 |
|
|
Karsten Hopp |
a43378 |
*** ../vim-7.3.771/src/ex_cmds.c 2013-01-17 14:09:39.000000000 +0100
|
|
Karsten Hopp |
a43378 |
--- src/ex_cmds.c 2013-01-17 18:31:38.000000000 +0100
|
|
Karsten Hopp |
a43378 |
***************
|
|
Karsten Hopp |
a43378 |
*** 5200,5205 ****
|
|
Karsten Hopp |
a43378 |
--- 5200,5211 ----
|
|
Karsten Hopp |
a43378 |
EMSG2(_(e_patnotf2), get_search_pat());
|
|
Karsten Hopp |
a43378 |
}
|
|
Karsten Hopp |
a43378 |
|
|
Karsten Hopp |
a43378 |
+ #ifdef FEAT_FOLDING
|
|
Karsten Hopp |
a43378 |
+ if (do_ask && hasAnyFolding(curwin))
|
|
Karsten Hopp |
a43378 |
+ /* Cursor position may require updating */
|
|
Karsten Hopp |
a43378 |
+ changed_window_setting();
|
|
Karsten Hopp |
a43378 |
+ #endif
|
|
Karsten Hopp |
a43378 |
+
|
|
Karsten Hopp |
a43378 |
vim_free(regmatch.regprog);
|
|
Karsten Hopp |
a43378 |
}
|
|
Karsten Hopp |
a43378 |
|
|
Karsten Hopp |
a43378 |
*** ../vim-7.3.771/src/version.c 2013-01-17 17:37:31.000000000 +0100
|
|
Karsten Hopp |
a43378 |
--- src/version.c 2013-01-17 18:32:56.000000000 +0100
|
|
Karsten Hopp |
a43378 |
***************
|
|
Karsten Hopp |
a43378 |
*** 727,728 ****
|
|
Karsten Hopp |
a43378 |
--- 727,730 ----
|
|
Karsten Hopp |
a43378 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
a43378 |
+ /**/
|
|
Karsten Hopp |
a43378 |
+ 772,
|
|
Karsten Hopp |
a43378 |
/**/
|
|
Karsten Hopp |
a43378 |
|
|
Karsten Hopp |
a43378 |
--
|
|
Karsten Hopp |
a43378 |
Linux is just like a wigwam: no Windows, no Gates and an Apache inside.
|
|
Karsten Hopp |
a43378 |
|
|
Karsten Hopp |
a43378 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
a43378 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
a43378 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
a43378 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|