]>
Commit | Line | Data |
---|---|---|
7a7a4b06 | 1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.040 | |
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.040 | |
11 | Problem: When 'cmdheight' is larger than 1 using inputlist() or selecting | |
12 | a spell suggestion with the mouse gets the wrong entry. | |
13 | Solution: Start listing the first alternative on the last line of the screen. | |
14 | Files: src/eval.c, src/spell.c | |
15 | ||
16 | ||
17 | *** ../vim-7.0.039/src/eval.c Thu Jul 13 08:30:50 2006 | |
18 | --- src/eval.c Mon Jul 10 23:03:13 2006 | |
19 | *************** | |
20 | *** 11497,11502 **** | |
21 | --- 11497,11503 ---- | |
22 | } | |
23 | ||
24 | msg_start(); | |
25 | + msg_row = Rows - 1; /* for when 'cmdheight' > 1 */ | |
26 | lines_left = Rows; /* avoid more prompt */ | |
27 | msg_scroll = TRUE; | |
28 | msg_clr_eos(); | |
29 | *** ../vim-7.0.039/src/spell.c Sat May 13 14:12:51 2006 | |
30 | --- src/spell.c Mon Jul 10 23:03:04 2006 | |
31 | *************** | |
32 | *** 10071,10076 **** | |
33 | --- 10071,10077 ---- | |
34 | ||
35 | /* List the suggestions. */ | |
36 | msg_start(); | |
37 | + msg_row = Rows - 1; /* for when 'cmdheight' > 1 */ | |
38 | lines_left = Rows; /* avoid more prompt */ | |
39 | vim_snprintf((char *)IObuff, IOSIZE, _("Change \"%.*s\" to:"), | |
40 | sug.su_badlen, sug.su_badptr); | |
41 | *** ../vim-7.0.039/src/version.c Thu Jul 13 08:30:50 2006 | |
42 | --- src/version.c Sun Jul 23 21:51:04 2006 | |
43 | *************** | |
44 | *** 668,669 **** | |
45 | --- 668,671 ---- | |
46 | { /* Add new patch number below this line */ | |
47 | + /**/ | |
48 | + 40, | |
49 | /**/ | |
50 | ||
51 | -- | |
52 | hundred-and-one symptoms of being an internet addict: | |
53 | 40. You tell the cab driver you live at | |
54 | http://123.elm.street/house/bluetrim.html | |
55 | 41. You actually try that 123.elm.street address. | |
56 | ||
57 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
58 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
59 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
60 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |