comparison src/fold.c @ 1554:3796d11fde3c v7.1.267

updated for version 7.1-267
author vimboss
date Thu, 06 Mar 2008 21:45:49 +0000
parents 61709607f5e2
children 18ee39301b82
comparison
equal deleted inserted replaced
1553:da7e2f59ee6a 1554:3796d11fde3c
2305 /* There can't be any folds from start until end now. */ 2305 /* There can't be any folds from start until end now. */
2306 foldRemove(&wp->w_folds, start, end); 2306 foldRemove(&wp->w_folds, start, end);
2307 2307
2308 /* If some fold changed, need to redraw and position cursor. */ 2308 /* If some fold changed, need to redraw and position cursor. */
2309 if (fold_changed && wp->w_p_fen) 2309 if (fold_changed && wp->w_p_fen)
2310 changed_window_setting(); 2310 changed_window_setting_win(wp);
2311 2311
2312 /* If we updated folds past "bot", need to redraw more lines. Don't do 2312 /* If we updated folds past "bot", need to redraw more lines. Don't do
2313 * this in other situations, the changed lines will be redrawn anyway and 2313 * this in other situations, the changed lines will be redrawn anyway and
2314 * this method can cause the whole window to be updated. */ 2314 * this method can cause the whole window to be updated. */
2315 if (end != bot) 2315 if (end != bot)