4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
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.
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
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;
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;
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
50 { /* Add new patch number below this line */
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."
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 ///