diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-01-22 23:22:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-01-22 23:22:22 +0000 |
commit | 66fa271a25f5d7e7be7425ef97b22cf11ee1b0b8 (patch) | |
tree | 694bb4e0de4e1f9b6c9eb7a59498c785acd9022c /src/diff.c | |
parent | 0ac9379acfad03dd478bd4b0e1e1b3c267dbdeba (diff) | |
download | vim-66fa271a25f5d7e7be7425ef97b22cf11ee1b0b8.zip |
updated for version 7.0185
Diffstat (limited to 'src/diff.c')
-rw-r--r-- | src/diff.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/diff.c b/src/diff.c index 1a382e399..b0958548a 100644 --- a/src/diff.c +++ b/src/diff.c @@ -441,9 +441,10 @@ diff_mark_adjust(line1, line2, amount, amount_after) } diff_redraw(TRUE); - /* Recompute the scroll binding, may remove or add filler lines (e.g., - * when adding lines above w_topline). */ - check_scrollbind((linenr_T)0, 0L); + /* Need to recompute the scroll binding, may remove or add filler lines + * (e.g., when adding lines above w_topline). But it's slow when making + * many changes, postpone until redrawing. */ + diff_need_scrollbind = TRUE; } /* |