]>
Commit | Line | Data |
---|---|---|
d034a75d AG |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.396 | |
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.396 | |
11 | Problem: After forcing an operator to be characterwise it can still become | |
12 | linewise when spanning whole lines. | |
13 | Solution: Don't make the operator linewise when motion_force was set. | |
14 | (Christian Brabandt) | |
15 | Files: src/ops.c | |
16 | ||
17 | ||
18 | *** ../vim-7.3.395/src/ops.c 2012-01-10 13:44:23.000000000 +0100 | |
19 | --- src/ops.c 2012-01-10 13:28:05.000000000 +0100 | |
20 | *************** | |
21 | *** 1648,1653 **** | |
22 | --- 1648,1654 ---- | |
23 | && !oap->block_mode | |
24 | #endif | |
25 | && oap->line_count > 1 | |
26 | + && oap->motion_force == NUL | |
27 | && oap->op_type == OP_DELETE) | |
28 | { | |
29 | ptr = ml_get(oap->end.lnum) + oap->end.col; | |
30 | *** ../vim-7.3.395/src/version.c 2012-01-10 13:44:23.000000000 +0100 | |
31 | --- src/version.c 2012-01-10 13:45:31.000000000 +0100 | |
32 | *************** | |
33 | *** 716,717 **** | |
34 | --- 716,719 ---- | |
35 | { /* Add new patch number below this line */ | |
36 | + /**/ | |
37 | + 396, | |
38 | /**/ | |
39 | ||
40 | -- | |
41 | Any sufficiently advanced technology is indistinguishable from magic. | |
42 | Arthur C. Clarke | |
43 | Any sufficiently advanced bug is indistinguishable from a feature. | |
44 | Rich Kulawiec | |
45 | ||
46 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
47 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
48 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
49 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |