]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.023
- updated to 7.1.326
[packages/vim.git] / 7.1.023
1 To: vim-dev@vim.org
2 Subject: patch 7.1.023
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 7.1.023
11 Problem:    "dw" in a line with one character deletes the line.  Vi and nvi
12             don't do this.  (Kjell Arne Rekaa)
13 Solution:   Check for one-character words especially.
14 Files:      src/search.c
15
16
17 *** ../vim-7.1.022/src/search.c Tue Jun 19 12:58:55 2007
18 --- src/search.c        Thu Jul  5 21:18:55 2007
19 ***************
20 *** 2795,2801 ****
21         i = inc_cursor();
22         if (i == -1 || (i >= 1 && last_line)) /* started at last char in file */
23             return FAIL;
24 !       if (i == 1 && eol && count == 0)      /* started at last char in line */
25             return OK;
26   
27         /*
28 --- 2802,2808 ----
29         i = inc_cursor();
30         if (i == -1 || (i >= 1 && last_line)) /* started at last char in file */
31             return FAIL;
32 !       if (i >= 1 && eol && count == 0)      /* started at last char in line */
33             return OK;
34   
35         /*
36 *** ../vim-7.1.022/src/version.c        Sat Jul  7 13:57:39 2007
37 --- src/version.c       Tue Jul 10 12:35:36 2007
38 ***************
39 *** 668,669 ****
40 --- 668,671 ----
41   {   /* Add new patch number below this line */
42 + /**/
43 +     23,
44   /**/
45
46 -- 
47 BRIDGEKEEPER: What is your favorite editor?
48 GAWAIN:       Emacs ...  No, Viiiiiiiiiiimmmmmmm!
49            "Monty Python and the Holy editor wars" PYTHON (MONTY) SOFTWARE LTD
50
51  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
52 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\        download, build and distribute -- http://www.A-A-P.org        ///
54  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.036308 seconds and 3 git commands to generate.