]>
Commit | Line | Data |
---|---|---|
6f27073b AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.029 | |
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.0.029 | |
11 | Problem: getchar() may not position the cursor after a space. | |
12 | Solution: Position the cursor explicitly. | |
13 | Files: src/eval.c | |
14 | ||
15 | ||
16 | *** ../vim-7.0.028/src/eval.c Thu Jun 22 18:02:06 2006 | |
17 | --- src/eval.c Thu Jun 22 21:00:00 2006 | |
18 | *************** | |
19 | *** 9792,9797 **** | |
20 | --- 9792,9800 ---- | |
21 | varnumber_T n; | |
22 | int error = FALSE; | |
23 | ||
24 | + /* Position the cursor. Needed after a message that ends in a space. */ | |
25 | + windgoto(msg_row, msg_col); | |
26 | + | |
27 | ++no_mapping; | |
28 | ++allow_keys; | |
29 | if (argvars[0].v_type == VAR_UNKNOWN) | |
30 | *** ../vim-7.0.028/src/version.c Thu Jun 22 19:47:11 2006 | |
31 | --- src/version.c Thu Jun 22 20:55:43 2006 | |
32 | *************** | |
33 | *** 668,669 **** | |
34 | --- 668,671 ---- | |
35 | { /* Add new patch number below this line */ | |
36 | + /**/ | |
37 | + 29, | |
38 | /**/ | |
39 | ||
40 | -- | |
41 | BEDEVERE: How do you know so much about swallows? | |
42 | ARTHUR: Well you have to know these things when you're a king, you know. | |
43 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
44 | ||
45 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
46 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
47 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
48 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |