Problem: Text not scrolled when cursor moved with "g0" and "h".
Solution: Adjust w_skipcol when needed. (Luuk van Baal, closes #12387)
}
curwin->w_set_curswant = TRUE;
+ adjust_skipcol();
return OK;
}
curwin->w_valid &= ~VALID_WCOL;
}
curwin->w_set_curswant = TRUE;
+ adjust_skipcol();
}
/*
exe "normal \<C-Y>"
call s:check_col_calc(1, 3, 41)
+ " Test "g0/g<Home>"
+ exe "normal gg\<C-E>"
+ norm $gkg0
+ call s:check_col_calc(1, 2, 21)
+
+ " Test moving the cursor behind the <<< display with 'virtualedit'
+ set virtualedit=all
+ exe "normal \<C-E>"
+ norm 3lgkh
+ call s:check_col_calc(3, 2, 23)
+ set virtualedit&
+
normal gg3l
exe "normal \<C-E>"
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1545,
/**/
1544,
/**/