mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 9.0.1551: position of marker for 'smoothscroll' not computed correctly
Problem: Position of marker for 'smoothscroll' not computed correctly. Solution: Take 'list' and other options into account. (Luuk van Baal, closes #12393)
This commit is contained in:
committed by
Bram Moolenaar
parent
81f277f526
commit
24b62ec825
@@ -568,8 +568,8 @@ changed_common(
|
||||
&& wp->w_topline < lnume
|
||||
&& win_linetabsize(wp, wp->w_topline,
|
||||
ml_get(wp->w_topline), (colnr_T)MAXCOL)
|
||||
<= wp->w_skipcol + (wp->w_p_list
|
||||
&& wp->w_lcs_chars.prec ? 1 : 3))))
|
||||
<= wp->w_skipcol + sms_marker_overlap(wp,
|
||||
win_col_off(wp) - win_col_off2(wp)))))
|
||||
wp->w_skipcol = 0;
|
||||
|
||||
// Check if a change in the buffer has invalidated the cached
|
||||
|
Reference in New Issue
Block a user