]> git.ipfire.org Git - ipfire-3.x.git/blame - vim/patches/vim-7.3.396.patch0
vim: Import latest patches from upstream.
[ipfire-3.x.git] / vim / patches / vim-7.3.396.patch0
CommitLineData
c6060300
MT
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.396
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.396
11Problem: After forcing an operator to be characterwise it can still become
12 linewise when spanning whole lines.
13Solution: Don't make the operator linewise when motion_force was set.
14 (Christian Brabandt)
15Files: 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--
41Any sufficiently advanced technology is indistinguishable from magic.
42 Arthur C. Clarke
43Any 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 ///