]>
Commit | Line | Data |
---|---|---|
baa3863f ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.242 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.242 (after 7.1.005) | |
11 | Problem: "cib" doesn't work properly on "(x)". (Tim Pope) | |
12 | Solution: Use ltoreq() instead of lt(). Also fix "ciT" on "<a>x</a>". | |
13 | Files: src/search.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.241/src/search.c Sat Jan 19 15:55:51 2008 | |
17 | --- src/search.c Sat Jan 26 13:56:06 2008 | |
18 | *************** | |
19 | *** 3637,3643 **** | |
20 | oap->inclusive = FALSE; | |
21 | if (sol) | |
22 | incl(&curwin->w_cursor); | |
23 | ! else if (lt(start_pos, curwin->w_cursor)) | |
24 | /* Include the character under the cursor. */ | |
25 | oap->inclusive = TRUE; | |
26 | else | |
27 | --- 3637,3643 ---- | |
28 | oap->inclusive = FALSE; | |
29 | if (sol) | |
30 | incl(&curwin->w_cursor); | |
31 | ! else if (ltoreq(start_pos, curwin->w_cursor)) | |
32 | /* Include the character under the cursor. */ | |
33 | oap->inclusive = TRUE; | |
34 | else | |
35 | *************** | |
36 | *** 3754,3759 **** | |
37 | --- 3754,3763 ---- | |
38 | old_pos = curwin->w_cursor; | |
39 | old_end = curwin->w_cursor; /* remember where we started */ | |
40 | old_start = old_end; | |
41 | + #ifdef FEAT_VISUAL | |
42 | + if (!VIsual_active || *p_sel == 'e') | |
43 | + #endif | |
44 | + decl(&old_end); /* old_end is inclusive */ | |
45 | ||
46 | /* | |
47 | * If we start on "<aaa>" select that block. | |
48 | *** ../vim-7.1.241/src/version.c Tue Jan 22 17:49:17 2008 | |
49 | --- src/version.c Sat Jan 26 21:14:05 2008 | |
50 | *************** | |
51 | *** 668,669 **** | |
52 | --- 668,671 ---- | |
53 | { /* Add new patch number below this line */ | |
54 | + /**/ | |
55 | + 242, | |
56 | /**/ | |
57 | ||
58 | -- | |
59 | DENNIS: Oh, very nice. King, eh! I expect you've got a palace and fine | |
60 | clothes and courtiers and plenty of food. And how d'you get that? By | |
61 | exploiting the workers! By hanging on to outdated imperialist dogma | |
62 | which perpetuates the social and economic differences in our society! | |
63 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
64 | ||
65 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
66 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
67 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
68 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |