1
0
forked from aniani/vim

updated for version 7.4a.005

Problem:    Scroll binding causes unexpected scroll.
Solution:   Store the topline after updating scroll binding.  Add a test.
            (Lech Lorens)
This commit is contained in:
Bram Moolenaar
2013-07-09 13:44:59 +02:00
parent c64b85a348
commit 04c5c9ee27
11 changed files with 62 additions and 7 deletions

View File

@@ -7801,7 +7801,10 @@ set_bool_option(opt_idx, varp, value, opt_flags)
else if ((int *)varp == &curwin->w_p_scb)
{
if (curwin->w_p_scb)
{
do_check_scrollbind(FALSE);
curwin->w_scbind_pos = curwin->w_topline;
}
}
#endif