]>
Commit | Line | Data |
---|---|---|
c734f094 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.322 | |
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.322 | |
11 | Problem: With 'showcmd' set, after typing "dd" the next "d" may not be | |
12 | displayed. (Jens Paulus) | |
13 | Solution: Redraw the command line after updating the screen, scrolling may | |
14 | have set "clear_cmdline". | |
15 | Files: src/screen.c | |
16 | ||
17 | ||
18 | *** ../vim-6.2.321/src/screen.c Sat Mar 6 21:10:59 2004 | |
19 | --- src/screen.c Sat Mar 6 15:32:18 2004 | |
20 | *************** | |
21 | *** 412,422 **** | |
22 | type = NOT_VALID; | |
23 | } | |
24 | ||
25 | ! if (clear_cmdline) /* first clear cmdline */ | |
26 | ! { | |
27 | check_for_delay(FALSE); | |
28 | - msg_clr_cmdline(); /* will reset clear_cmdline */ | |
29 | - } | |
30 | ||
31 | /* | |
32 | * Only start redrawing if there is really something to do. | |
33 | --- 412,419 ---- | |
34 | type = NOT_VALID; | |
35 | } | |
36 | ||
37 | ! if (clear_cmdline) /* going to clear cmdline (done below) */ | |
38 | check_for_delay(FALSE); | |
39 | ||
40 | /* | |
41 | * Only start redrawing if there is really something to do. | |
42 | *************** | |
43 | *** 534,540 **** | |
44 | gui_may_resize_shell(); | |
45 | #endif | |
46 | ||
47 | ! if (redraw_cmdline) | |
48 | showmode(); | |
49 | ||
50 | /* May put up an introductory message when not editing a file */ | |
51 | --- 531,539 ---- | |
52 | gui_may_resize_shell(); | |
53 | #endif | |
54 | ||
55 | ! /* Clear or redraw the command line. Done last, because scrolling may | |
56 | ! * mess up the command line. */ | |
57 | ! if (clear_cmdline || redraw_cmdline) | |
58 | showmode(); | |
59 | ||
60 | /* May put up an introductory message when not editing a file */ | |
61 | *** ../vim-6.2.321/src/version.c Sat Mar 6 21:10:59 2004 | |
62 | --- src/version.c Sat Mar 6 21:12:17 2004 | |
63 | *************** | |
64 | *** 639,640 **** | |
65 | --- 639,642 ---- | |
66 | { /* Add new patch number below this line */ | |
67 | + /**/ | |
68 | + 322, | |
69 | /**/ | |
70 | ||
71 | -- | |
72 | It is illegal to take more than three sips of beer at a time while standing. | |
73 | [real standing law in Texas, United States of America] | |
74 | ||
75 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
76 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
77 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
78 | \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html /// |