]>
Commit | Line | Data |
---|---|---|
6ac11130 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.329 | |
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.2.329 | |
11 | Problem: "g_" doesn't position cursor correctly when in Visual mode and | |
12 | 'selection' is "exclusive". (Ben Fritz) | |
13 | Solution: Call adjust_for_sel(). | |
14 | Files: src/normal.c | |
15 | ||
16 | ||
17 | *** ../vim-7.2.328/src/normal.c 2009-12-24 15:00:31.000000000 +0100 | |
18 | --- src/normal.c 2010-01-09 15:19:47.000000000 +0100 | |
19 | *************** | |
20 | *** 7873,7878 **** | |
21 | --- 7873,7881 ---- | |
22 | && vim_iswhite(ptr[curwin->w_cursor.col])) | |
23 | --curwin->w_cursor.col; | |
24 | curwin->w_set_curswant = TRUE; | |
25 | + #ifdef FEAT_VISUAL | |
26 | + adjust_for_sel(cap); | |
27 | + #endif | |
28 | } | |
29 | break; | |
30 | ||
31 | *** ../vim-7.2.328/src/version.c 2010-01-12 12:48:40.000000000 +0100 | |
32 | --- src/version.c 2010-01-12 15:41:13.000000000 +0100 | |
33 | *************** | |
34 | *** 683,684 **** | |
35 | --- 683,686 ---- | |
36 | { /* Add new patch number below this line */ | |
37 | + /**/ | |
38 | + 329, | |
39 | /**/ | |
40 | ||
41 | -- | |
42 | From "know your smileys": | |
43 | |-( Contact lenses, but has lost them | |
44 | ||
45 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
46 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
47 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
48 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |