comparison src/term.c @ 1024:39aaf0cc59e8 v7.0.150

updated for version 7.0-150
author vimboss
date Tue, 24 Oct 2006 19:36:02 +0000
parents 77f8a648d2e6
children 4d649198593f
comparison
equal deleted inserted replaced
1023:cb7043482eca 1024:39aaf0cc59e8
3135 || exmode_active) 3135 || exmode_active)
3136 { 3136 {
3137 screenalloc(FALSE); 3137 screenalloc(FALSE);
3138 repeat_message(); 3138 repeat_message();
3139 } 3139 }
3140 else if (State & CMDLINE)
3141 {
3142 update_screen(NOT_VALID);
3143 redrawcmdline();
3144 }
3145 else 3140 else
3146 { 3141 {
3147 update_topline(); 3142 #ifdef FEAT_SCROLLBIND
3148 #if defined(FEAT_INS_EXPAND) 3143 if (curwin->w_p_scb)
3149 if (pum_visible()) 3144 do_check_scrollbind(TRUE);
3145 #endif
3146 if (State & CMDLINE)
3150 { 3147 {
3151 redraw_later(NOT_VALID); 3148 update_screen(NOT_VALID);
3152 ins_compl_show_pum(); /* This includes the redraw. */ 3149 redrawcmdline();
3153 } 3150 }
3154 else 3151 else
3155 #endif 3152 {
3156 update_screen(NOT_VALID); 3153 update_topline();
3157 if (redrawing()) 3154 #if defined(FEAT_INS_EXPAND)
3158 setcursor(); 3155 if (pum_visible())
3156 {
3157 redraw_later(NOT_VALID);
3158 ins_compl_show_pum(); /* This includes the redraw. */
3159 }
3160 else
3161 #endif
3162 update_screen(NOT_VALID);
3163 if (redrawing())
3164 setcursor();
3165 }
3159 } 3166 }
3160 cursor_on(); /* redrawing may have switched it off */ 3167 cursor_on(); /* redrawing may have switched it off */
3161 } 3168 }
3162 out_flush(); 3169 out_flush();
3163 --busy; 3170 --busy;