]>
Commit | Line | Data |
---|---|---|
c6060300 MT |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.463 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.463 | |
11 | Problem: When using ":s///c" the cursor is moved away from the match. | |
12 | (Lawman) | |
13 | Solution: Don't move the cursor when do_ask is set. (Christian Brabandt) | |
14 | Files: src/ex_cmds.c | |
15 | ||
16 | ||
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 | |
19 | *************** | |
20 | *** 5151,5160 **** | |
21 | ||
22 | if (!global_busy) | |
23 | { | |
24 | ! if (endcolumn) | |
25 | ! coladvance((colnr_T)MAXCOL); | |
26 | ! else | |
27 | ! beginline(BL_WHITE | BL_FIX); | |
28 | if (!do_sub_msg(do_count) && do_ask) | |
29 | MSG(""); | |
30 | } | |
31 | --- 5151,5163 ---- | |
32 | ||
33 | if (!global_busy) | |
34 | { | |
35 | ! if (!do_ask) /* when interactive leave cursor on the match */ | |
36 | ! { | |
37 | ! if (endcolumn) | |
38 | ! coladvance((colnr_T)MAXCOL); | |
39 | ! else | |
40 | ! beginline(BL_WHITE | BL_FIX); | |
41 | ! } | |
42 | if (!do_sub_msg(do_count) && do_ask) | |
43 | MSG(""); | |
44 | } | |
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 | |
47 | *************** | |
48 | *** 716,717 **** | |
49 | --- 716,719 ---- | |
50 | { /* Add new patch number below this line */ | |
51 | + /**/ | |
52 | + 463, | |
53 | /**/ | |
54 | ||
55 | -- | |
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. | |
59 | ||
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 /// |