]>
Commit | Line | Data |
---|---|---|
f3c378e8 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.150 | |
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.150 | |
11 | Problem: When resizing the Vim window scrollbinding doesn't work. (Yakov | |
12 | Lerner) | |
13 | Solution: Do scrollbinding in set_shellsize(). | |
14 | Files: src/term.c | |
15 | ||
16 | ||
17 | *** ../vim-7.0.149/src/term.c Wed Aug 16 21:42:34 2006 | |
18 | --- src/term.c Tue Oct 24 11:26:33 2006 | |
19 | *************** | |
20 | *** 3137,3161 **** | |
21 | screenalloc(FALSE); | |
22 | repeat_message(); | |
23 | } | |
24 | - else if (State & CMDLINE) | |
25 | - { | |
26 | - update_screen(NOT_VALID); | |
27 | - redrawcmdline(); | |
28 | - } | |
29 | else | |
30 | { | |
31 | ! update_topline(); | |
32 | ! #if defined(FEAT_INS_EXPAND) | |
33 | ! if (pum_visible()) | |
34 | { | |
35 | ! redraw_later(NOT_VALID); | |
36 | ! ins_compl_show_pum(); /* This includes the redraw. */ | |
37 | } | |
38 | else | |
39 | #endif | |
40 | ! update_screen(NOT_VALID); | |
41 | ! if (redrawing()) | |
42 | ! setcursor(); | |
43 | } | |
44 | cursor_on(); /* redrawing may have switched it off */ | |
45 | } | |
46 | --- 3138,3169 ---- | |
47 | screenalloc(FALSE); | |
48 | repeat_message(); | |
49 | } | |
50 | else | |
51 | { | |
52 | ! #ifdef FEAT_SCROLLBIND | |
53 | ! if (curwin->w_p_scb) | |
54 | ! do_check_scrollbind(TRUE); | |
55 | ! #endif | |
56 | ! if (State & CMDLINE) | |
57 | { | |
58 | ! update_screen(NOT_VALID); | |
59 | ! redrawcmdline(); | |
60 | } | |
61 | else | |
62 | + { | |
63 | + update_topline(); | |
64 | + #if defined(FEAT_INS_EXPAND) | |
65 | + if (pum_visible()) | |
66 | + { | |
67 | + redraw_later(NOT_VALID); | |
68 | + ins_compl_show_pum(); /* This includes the redraw. */ | |
69 | + } | |
70 | + else | |
71 | #endif | |
72 | ! update_screen(NOT_VALID); | |
73 | ! if (redrawing()) | |
74 | ! setcursor(); | |
75 | ! } | |
76 | } | |
77 | cursor_on(); /* redrawing may have switched it off */ | |
78 | } | |
79 | *** ../vim-7.0.149/src/version.c Tue Oct 24 21:15:09 2006 | |
80 | --- src/version.c Tue Oct 24 21:33:39 2006 | |
81 | *************** | |
82 | *** 668,669 **** | |
83 | --- 668,671 ---- | |
84 | { /* Add new patch number below this line */ | |
85 | + /**/ | |
86 | + 150, | |
87 | /**/ | |
88 | ||
89 | -- | |
90 | hundred-and-one symptoms of being an internet addict: | |
91 | 106. When told to "go to your room" you inform your parents that you | |
92 | can't...because you were kicked out and banned. | |
93 | ||
94 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
95 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
96 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
97 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |