vim-patch:9.0.0206: redraw flags are not named specifically (#19913)

Problem:    Redraw flags are not named specifically.
Solution:   Prefix "UPD_" to the flags, for UPDate_screen().
a4d158b3c8
This commit is contained in:
zeertzjq
2022-08-23 22:00:19 +08:00
committed by GitHub
parent 779a25f040
commit 6cc6e11929
46 changed files with 310 additions and 310 deletions

View File

@@ -1623,7 +1623,7 @@ void enter_buffer(buf_T *buf)
}
curbuf->b_last_used = time(NULL);
redraw_later(curwin, NOT_VALID);
redraw_later(curwin, UPD_NOT_VALID);
}
/// Change to the directory of the current buffer.
@@ -4034,7 +4034,7 @@ void buf_signcols_add_check(buf_T *buf, sign_entry_T *added)
buf->b_signcols.max++;
}
buf->b_signcols.size++;
redraw_buf_later(buf, NOT_VALID);
redraw_buf_later(buf, UPD_NOT_VALID);
return;
}
@@ -4055,7 +4055,7 @@ void buf_signcols_add_check(buf_T *buf, sign_entry_T *added)
buf->b_signcols.size = linesum;
buf->b_signcols.max = linesum;
buf->b_signcols.sentinel = added->se_lnum;
redraw_buf_later(buf, NOT_VALID);
redraw_buf_later(buf, UPD_NOT_VALID);
}
}
@@ -4074,7 +4074,7 @@ int buf_signcols(buf_T *buf, int maximum)
if (signcols != buf->b_signcols.size) {
buf->b_signcols.size = signcols;
buf->b_signcols.max = maximum;
redraw_buf_later(buf, NOT_VALID);
redraw_buf_later(buf, UPD_NOT_VALID);
}
buf->b_signcols.valid = true;