mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.106
Problem: When 'cursorbind' is set another window may scroll unexpectedly when 'scrollbind' is also set. (Xavier Wang) Solution: Don't call update_topline() if 'scrollbind' is set.
This commit is contained in:
@@ -2882,9 +2882,11 @@ do_check_cursorbind()
|
|||||||
if (has_mbyte)
|
if (has_mbyte)
|
||||||
mb_adjust_cursor();
|
mb_adjust_cursor();
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
redraw_later(VALID);
|
redraw_later(VALID);
|
||||||
update_topline();
|
|
||||||
|
/* Only scroll when 'scrollbind' hasn't done this. */
|
||||||
|
if (!curwin->w_p_scb)
|
||||||
|
update_topline();
|
||||||
# ifdef FEAT_WINDOWS
|
# ifdef FEAT_WINDOWS
|
||||||
curwin->w_redr_status = TRUE;
|
curwin->w_redr_status = TRUE;
|
||||||
# endif
|
# endif
|
||||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
106,
|
||||||
/**/
|
/**/
|
||||||
105,
|
105,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user