Mercurial > vim
comparison src/fileio.c @ 672:db58b9066b21
updated for version 7.0200
author | vimboss |
---|---|
date | Fri, 17 Feb 2006 21:45:41 +0000 |
parents | e93a99ef31d0 |
children | 4b8583e82cb8 |
comparison
equal
deleted
inserted
replaced
671:83a006f81bac | 672:db58b9066b21 |
---|---|
2164 appended_lines_mark(from, linecnt); | 2164 appended_lines_mark(from, linecnt); |
2165 | 2165 |
2166 #ifdef FEAT_DIFF | 2166 #ifdef FEAT_DIFF |
2167 /* After reading the text into the buffer the diff info needs to be | 2167 /* After reading the text into the buffer the diff info needs to be |
2168 * updated. */ | 2168 * updated. */ |
2169 if ((newfile || read_buffer)) | 2169 if (newfile || read_buffer) |
2170 diff_invalidate(); | 2170 diff_invalidate(curbuf); |
2171 #endif | 2171 #endif |
2172 #ifndef ALWAYS_USE_GUI | 2172 #ifndef ALWAYS_USE_GUI |
2173 /* | 2173 /* |
2174 * If we were reading from the same terminal as where messages go, | 2174 * If we were reading from the same terminal as where messages go, |
2175 * the screen will have been messed up. | 2175 * the screen will have been messed up. |
5522 * also have a swap file. */ | 5522 * also have a swap file. */ |
5523 mf_fullname(buf->b_ml.ml_mfp); | 5523 mf_fullname(buf->b_ml.ml_mfp); |
5524 } | 5524 } |
5525 #ifdef FEAT_WINDOWS | 5525 #ifdef FEAT_WINDOWS |
5526 status_redraw_all(); | 5526 status_redraw_all(); |
5527 redraw_tabline = TRUE; | |
5527 #endif | 5528 #endif |
5528 } | 5529 } |
5529 | 5530 |
5530 #if (defined(FEAT_DND) && defined(FEAT_GUI_GTK)) \ | 5531 #if (defined(FEAT_DND) && defined(FEAT_GUI_GTK)) \ |
5531 || defined(FEAT_GUI_MSWIN) \ | 5532 || defined(FEAT_GUI_MSWIN) \ |
6495 if (savebuf != NULL) | 6496 if (savebuf != NULL) |
6496 wipe_buffer(savebuf, FALSE); | 6497 wipe_buffer(savebuf, FALSE); |
6497 | 6498 |
6498 #ifdef FEAT_DIFF | 6499 #ifdef FEAT_DIFF |
6499 /* Invalidate diff info if necessary. */ | 6500 /* Invalidate diff info if necessary. */ |
6500 diff_invalidate(); | 6501 diff_invalidate(buf); |
6501 #endif | 6502 #endif |
6502 | 6503 |
6503 /* Restore the topline and cursor position and check it (lines may | 6504 /* Restore the topline and cursor position and check it (lines may |
6504 * have been removed). */ | 6505 * have been removed). */ |
6505 if (old_topline > curbuf->b_ml.ml_line_count) | 6506 if (old_topline > curbuf->b_ml.ml_line_count) |