]>
Commit | Line | Data |
---|---|---|
c6060300 MT |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.351 | |
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.351 | |
11 | Problem: Text formatting uses start of insert position when it should not. | |
12 | (Peter Wagenaar) | |
13 | Solution: Do not use Insstart when intentionally formatting. | |
14 | Files: src/edit.c | |
15 | ||
16 | ||
17 | *** ../vim-7.3.350/src/edit.c 2011-09-21 18:23:02.000000000 +0200 | |
18 | --- src/edit.c 2011-10-26 16:58:21.000000000 +0200 | |
19 | *************** | |
20 | *** 6078,6083 **** | |
21 | --- 6078,6084 ---- | |
22 | * Stop at first entered white when 'formatoptions' has 'v' | |
23 | */ | |
24 | while ((!fo_ins_blank && !has_format_option(FO_INS_VI)) | |
25 | + || (flags & INSCHAR_FORMAT) | |
26 | || curwin->w_cursor.lnum != Insstart.lnum | |
27 | || curwin->w_cursor.col >= Insstart.col) | |
28 | { | |
29 | *** ../vim-7.3.350/src/version.c 2011-10-26 13:19:23.000000000 +0200 | |
30 | --- src/version.c 2011-10-26 17:03:37.000000000 +0200 | |
31 | *************** | |
32 | *** 716,717 **** | |
33 | --- 716,719 ---- | |
34 | { /* Add new patch number below this line */ | |
35 | + /**/ | |
36 | + 351, | |
37 | /**/ | |
38 | ||
39 | -- | |
40 | From "know your smileys": | |
41 | :-* A big kiss! | |
42 | ||
43 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
44 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
45 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
46 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |