]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.314
- updated to 6.2.430
[packages/vim.git] / 6.2.314
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.314
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 6.2.314
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
14             block.
15 Files:      src/ops.c
16
17
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
20 ***************
21 *** 1922,1929 ****
22         for ( ; curwin->w_cursor.lnum <= oap->end.lnum; ++curwin->w_cursor.lnum)
23         {
24             block_prep(oap, &bd, curwin->w_cursor.lnum, TRUE);
25 !           if (bd.textlen == 0 && !virtual_op) /* nothing to delete */
26 !               continue;
27   
28             /* n == number of extra chars required
29              * If we split a TAB, it may be replaced by several characters.
30 --- 1922,1929 ----
31         for ( ; curwin->w_cursor.lnum <= oap->end.lnum; ++curwin->w_cursor.lnum)
32         {
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 */
36   
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
41 ***************
42 *** 639,640 ****
43 --- 639,642 ----
44   {   /* Add new patch number below this line */
45 + /**/
46 +     314,
47   /**/
48
49 -- 
50 ARTHUR: Charge!
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
57
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 ///
This page took 0.024481 seconds and 3 git commands to generate.