]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.438
- remove missing .po files
[packages/vim.git] / 6.2.438
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.438
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.438
11 Problem:    When the 'v' flag is present in 'cpoptions', backspacing and then
12             typing text again: one character too much is overtyped before
13             inserting is done again.
14 Solution:   Set "dollar_vcol" to the right column.
15 Files:      src/edit.c
16
17
18 *** ../vim-6.2.437/src/edit.c   Thu Apr  1 14:19:33 2004
19 --- src/edit.c  Sat Apr  3 16:55:21 2004
20 ***************
21 *** 6705,6715 ****
22        *                     was there remains visible
23        * Vim behaviour: the cursor moves backward and the character that
24        *                      was there is erased from the screen.
25 !      * We can emulate the vi bahaviour by pretending there is a dollar
26        * displayed even when there isn't.
27        *  --pkv Sun Jan 19 01:56:40 EST 2003 */
28       if (vim_strchr(p_cpo, CPO_BACKSPACE) != NULL && dollar_vcol == 0)
29 !       dollar_vcol = curwin->w_virtcol + 1;
30   
31       return did_backspace;
32   }
33 --- 6705,6715 ----
34        *                     was there remains visible
35        * Vim behaviour: the cursor moves backward and the character that
36        *                      was there is erased from the screen.
37 !      * We can emulate the vi behaviour by pretending there is a dollar
38        * displayed even when there isn't.
39        *  --pkv Sun Jan 19 01:56:40 EST 2003 */
40       if (vim_strchr(p_cpo, CPO_BACKSPACE) != NULL && dollar_vcol == 0)
41 !       dollar_vcol = curwin->w_virtcol;
42   
43       return did_backspace;
44   }
45 *** ../vim-6.2.437/src/version.c        Sat Apr  3 16:40:28 2004
46 --- src/version.c       Sat Apr  3 16:59:26 2004
47 ***************
48 *** 639,640 ****
49 --- 639,642 ----
50   {   /* Add new patch number below this line */
51 + /**/
52 +     438,
53   /**/
54
55 -- 
56 hundred-and-one symptoms of being an internet addict:
57 255. You work for a newspaper and your editor asks you to write an
58      article about Internet addiction...in the "first person."
59
60  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
61 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
62 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
63  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
This page took 0.032423 seconds and 3 git commands to generate.