4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When 'virtualedit' is set "rx" may cause a crash with a blockwise
12 selection and using "$". (Moritz Orbach)
13 Solution: Don't try replacing chars in a line that has no characters in the
18 *** ../vim-6.2.313/src/ops.c Sun Feb 15 13:49:38 2004
19 --- src/ops.c Wed Mar 3 21:51:58 2004
22 for ( ; curwin->w_cursor.lnum <= oap->end.lnum; ++curwin->w_cursor.lnum)
24 block_prep(oap, &bd, curwin->w_cursor.lnum, TRUE);
25 ! if (bd.textlen == 0 && !virtual_op) /* nothing to delete */
28 /* n == number of extra chars required
29 * If we split a TAB, it may be replaced by several characters.
31 for ( ; curwin->w_cursor.lnum <= oap->end.lnum; ++curwin->w_cursor.lnum)
33 block_prep(oap, &bd, curwin->w_cursor.lnum, TRUE);
34 ! if (bd.textlen == 0 && (!virtual_op || bd.is_MAX))
35 ! continue; /* nothing to replace */
37 /* n == number of extra chars required
38 * If we split a TAB, it may be replaced by several characters.
39 *** ../vim-6.2.313/src/version.c Wed Mar 3 21:08:15 2004
40 --- src/version.c Wed Mar 3 23:00:31 2004
44 { /* Add new patch number below this line */
51 [They all charge with swords drawn towards the RABBIT. A tremendous twenty
52 second fight with Peckinpahish shots and borrowing heavily also on the
53 Kung Fu and karate-type films ensues, in which some four KNIGHTS are
54 comprehensively killed.]
55 ARTHUR: Run away! Run away!
56 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
58 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
59 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
60 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
61 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///