forked from aniani/vim
patch 8.2.2198: ml_get error when resizing window and using text property
Problem: ml_get error when resizing window and using text property. Solution: Validate botline of the right window. (closes #7528)
This commit is contained in:
@@ -419,7 +419,7 @@ find_visible_prop(win_T *wp, int type_id, int id, textprop_T *prop,
|
||||
int i;
|
||||
|
||||
// w_botline may not have been updated yet.
|
||||
validate_botline();
|
||||
validate_botline_win(wp);
|
||||
for (lnum = wp->w_topline; lnum < wp->w_botline; ++lnum)
|
||||
{
|
||||
count = get_text_props(wp->w_buffer, lnum, &props, FALSE);
|
||||
|
Reference in New Issue
Block a user