4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Screen update bug when repeating "~" on a Visual block and the
12 last line doesn't change.
13 Solution: Keep track of changes for all lines. (Moritz Orbach)
17 *** ../vim-7.2.063/src/ops.c Tue Jun 24 23:59:55 2008
18 --- src/ops.c Wed Dec 3 13:12:06 2008
22 for (; pos.lnum <= oap->end.lnum; ++pos.lnum)
24 block_prep(oap, &bd, pos.lnum, FALSE);
26 ! did_change = swapchars(oap->op_type, &pos, bd.textlen);
28 # ifdef FEAT_NETBEANS_INTG
29 ! if (usingNetbeans && did_change)
31 char_u *ptr = ml_get_buf(curbuf, pos.lnum, FALSE);
35 for (; pos.lnum <= oap->end.lnum; ++pos.lnum)
39 block_prep(oap, &bd, pos.lnum, FALSE);
41 ! one_change = swapchars(oap->op_type, &pos, bd.textlen);
42 ! did_change |= one_change;
44 # ifdef FEAT_NETBEANS_INTG
45 ! if (usingNetbeans && one_change)
47 char_u *ptr = ml_get_buf(curbuf, pos.lnum, FALSE);
49 *** ../vim-7.2.063/src/version.c Wed Dec 3 13:18:16 2008
50 --- src/version.c Wed Dec 3 13:14:46 2008
54 { /* Add new patch number below this line */
60 Q: How many hardware engineers does it take to change a lightbulb?
61 A: None. We'll fix it in software.
63 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
64 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
65 \\\ download, build and distribute -- http://www.A-A-P.org ///
66 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///