1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: When using ":s///c" the cursor is moved away from the match.
13 Solution: Don't move the cursor when do_ask is set. (Christian Brabandt)
17 *** ../vim-7.3.462/src/ex_cmds.c 2012-02-22 14:58:24.000000000 +0100
18 --- src/ex_cmds.c 2012-03-07 14:54:21.000000000 +0100
25 ! coladvance((colnr_T)MAXCOL);
27 ! beginline(BL_WHITE | BL_FIX);
28 if (!do_sub_msg(do_count) && do_ask)
35 ! if (!do_ask) /* when interactive leave cursor on the match */
38 ! coladvance((colnr_T)MAXCOL);
40 ! beginline(BL_WHITE | BL_FIX);
42 if (!do_sub_msg(do_count) && do_ask)
45 *** ../vim-7.3.462/src/version.c 2012-02-29 19:19:57.000000000 +0100
46 --- src/version.c 2012-03-07 14:55:39.000000000 +0100
50 { /* Add new patch number below this line */
56 hundred-and-one symptoms of being an internet addict:
57 151. You find yourself engaged to someone you've never actually met,
58 except through e-mail.
60 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
61 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
62 \\\ an exciting new programming language -- http://www.Zimbu.org ///
63 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///