]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.371
- updated to 6.2.430
[packages/vim.git] / 6.2.371
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.371
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.371
11 Problem:    When 'virtualedit' is set and there is a Tab before the next "x", 
12             "dtx" does not delete the whole Tab. (Ken Hashishi)
13 Solution:   Move the cursor to the last position of the Tab.  Also for
14             "df<Tab>".
15 Files:      src/normal.c
16
17
18 *** ../vim-6.2.370/src/normal.c Sun Mar 14 20:16:56 2004
19 --- src/normal.c        Sun Mar 14 17:42:30 2004
20 ***************
21 *** 5544,5550 ****
22       {
23         curwin->w_set_curswant = TRUE;
24   #ifdef FEAT_VIRTUALEDIT
25 !       curwin->w_cursor.coladd = 0;
26   #endif
27   #ifdef FEAT_VISUAL
28         adjust_for_sel(cap);
29 --- 5547,5563 ----
30       {
31         curwin->w_set_curswant = TRUE;
32   #ifdef FEAT_VIRTUALEDIT
33 !       /* Include a Tab for "tx" and for "dfx". */
34 !       if (gchar_cursor() == TAB && virtual_active() && cap->arg == FORWARD
35 !               && (t_cmd || cap->oap->op_type != OP_NOP))
36 !       {
37 !           colnr_T     scol, ecol;
38
39 !           getvcol(curwin, &curwin->w_cursor, &scol, NULL, &ecol);
40 !           curwin->w_cursor.coladd = ecol - scol;
41 !       }
42 !       else
43 !           curwin->w_cursor.coladd = 0;
44   #endif
45   #ifdef FEAT_VISUAL
46         adjust_for_sel(cap);
47 *** ../vim-6.2.370/src/version.c        Wed Mar 17 15:17:46 2004
48 --- src/version.c       Wed Mar 17 15:26:01 2004
49 ***************
50 *** 639,640 ****
51 --- 639,642 ----
52   {   /* Add new patch number below this line */
53 + /**/
54 +     371,
55   /**/
56
57 -- 
58 hundred-and-one symptoms of being an internet addict:
59 39. You move into a new house and decide to Netscape before you landscape.
60
61  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
62 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
63 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
64  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
This page took 0.032367 seconds and 3 git commands to generate.