]>
Commit | Line | Data |
---|---|---|
9b1d76b7 AG |
1 | To: vim-dev@vim.org |
2 | Subject: patch 7.0.211 | |
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.0.211 | |
11 | Problem: With ":set cindent noai bs=0" using CTRL-U in Insert mode will | |
12 | delete auto-indent. After ":set ai" it doesn't. | |
13 | Solution: Also check 'cindent' being set. (Ryan Lortie) | |
14 | Files: src/edit.c | |
15 | ||
16 | ||
17 | *** ../vim-7.0.210/src/edit.c Tue Feb 20 03:52:04 2007 | |
18 | --- src/edit.c Thu Mar 8 13:10:42 2007 | |
19 | *************** | |
20 | *** 8250,8256 **** | |
21 | #endif | |
22 | mincol = 0; | |
23 | /* keep indent */ | |
24 | ! if (mode == BACKSPACE_LINE && curbuf->b_p_ai | |
25 | #ifdef FEAT_RIGHTLEFT | |
26 | && !revins_on | |
27 | #endif | |
28 | --- 8250,8261 ---- | |
29 | #endif | |
30 | mincol = 0; | |
31 | /* keep indent */ | |
32 | ! if (mode == BACKSPACE_LINE | |
33 | ! && (curbuf->b_p_ai | |
34 | ! #ifdef FEAT_CINDENT | |
35 | ! || cindent_on() | |
36 | ! #endif | |
37 | ! ) | |
38 | #ifdef FEAT_RIGHTLEFT | |
39 | && !revins_on | |
40 | #endif | |
41 | *** ../vim-7.0.210/src/version.c Thu Mar 8 11:05:32 2007 | |
42 | --- src/version.c Thu Mar 8 13:14:13 2007 | |
43 | *************** | |
44 | *** 668,669 **** | |
45 | --- 668,671 ---- | |
46 | { /* Add new patch number below this line */ | |
47 | + /**/ | |
48 | + 211, | |
49 | /**/ | |
50 | ||
51 | -- | |
52 | Microsoft: "Windows NT 4.0 now has the same user-interface as Windows 95" | |
53 | Windows 95: "Press CTRL-ALT-DEL to reboot" | |
54 | Windows NT 4.0: "Press CTRL-ALT-DEL to login" | |
55 | ||
56 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
57 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
58 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
59 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |