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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user