]>
Commit | Line | Data |
---|---|---|
5f6937f1 AM |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.113 | |
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.113 | |
11 | Problem: Using ":startinsert" after "$" works like "a" instead of "i". | |
12 | (Ajit Thakkar) | |
13 | Solution: Reset "w_curswant" for ":startinsert" and reset o_eol in edit(). | |
14 | Files: src/edit.c, src/ex_docmd.c | |
15 | ||
16 | ||
17 | *** ../vim-6.2.112/src/edit.c Sat Sep 27 19:36:46 2003 | |
18 | --- src/edit.c Fri Oct 3 20:55:21 2003 | |
19 | *************** | |
20 | *** 420,429 **** | |
21 | } | |
22 | } | |
23 | else | |
24 | - { | |
25 | arrow_used = FALSE; | |
26 | ! o_eol = FALSE; | |
27 | ! } | |
28 | ||
29 | /* we are in insert mode now, don't need to start it anymore */ | |
30 | need_start_insertmode = FALSE; | |
31 | --- 420,427 ---- | |
32 | } | |
33 | } | |
34 | else | |
35 | arrow_used = FALSE; | |
36 | ! o_eol = FALSE; | |
37 | ||
38 | /* we are in insert mode now, don't need to start it anymore */ | |
39 | need_start_insertmode = FALSE; | |
40 | *** ../vim-6.2.112/src/ex_docmd.c Fri Sep 12 20:20:20 2003 | |
41 | --- src/ex_docmd.c Fri Oct 3 20:56:40 2003 | |
42 | *************** | |
43 | *** 7520,7526 **** | |
44 | --- 7520,7529 ---- | |
45 | restart_edit = 'a'; | |
46 | } | |
47 | else | |
48 | + { | |
49 | restart_edit = 'i'; | |
50 | + curwin->w_curswant = 0; /* avoid MAXCOL */ | |
51 | + } | |
52 | } | |
53 | ||
54 | /* | |
55 | *** ../vim-6.2.112/src/version.c Sun Oct 12 17:06:26 2003 | |
56 | --- src/version.c Sun Oct 12 17:08:03 2003 | |
57 | *************** | |
58 | *** 639,640 **** | |
59 | --- 639,642 ---- | |
60 | { /* Add new patch number below this line */ | |
61 | + /**/ | |
62 | + 113, | |
63 | /**/ | |
64 | ||
65 | -- | |
66 | hundred-and-one symptoms of being an internet addict: | |
67 | 177. You log off of your system because it's time to go to work. | |
68 | ||
69 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
70 | /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ | |
71 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
72 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |