mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.0835: the window title is not redrawn when 'endoffile' changes
Problem: The window title is not redrawn when 'endoffile' changes. Solution: redraw the window title when 'endoffile' is changed. (Ken Takata, closes #11488)
This commit is contained in:
18
src/option.c
18
src/option.c
@@ -2833,18 +2833,12 @@ set_bool_option(
|
|||||||
# endif
|
# endif
|
||||||
redraw_titles();
|
redraw_titles();
|
||||||
}
|
}
|
||||||
// when 'endofline' is changed, redraw the window title
|
// redraw the window title and tab page text when 'endoffile', 'endofline',
|
||||||
else if ((int *)varp == &curbuf->b_p_eol)
|
// 'fixeol' or 'bomb' is changed
|
||||||
{
|
else if ((int *)varp == &curbuf->b_p_eof
|
||||||
redraw_titles();
|
|| (int *)varp == &curbuf->b_p_eol
|
||||||
}
|
|| (int *)varp == &curbuf->b_p_fixeol
|
||||||
// when 'fixeol' is changed, redraw the window title
|
|| (int *)varp == &curbuf->b_p_bomb)
|
||||||
else if ((int *)varp == &curbuf->b_p_fixeol)
|
|
||||||
{
|
|
||||||
redraw_titles();
|
|
||||||
}
|
|
||||||
// when 'bomb' is changed, redraw the window title and tab page text
|
|
||||||
else if ((int *)varp == &curbuf->b_p_bomb)
|
|
||||||
{
|
{
|
||||||
redraw_titles();
|
redraw_titles();
|
||||||
}
|
}
|
||||||
|
@@ -695,6 +695,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 */
|
||||||
|
/**/
|
||||||
|
835,
|
||||||
/**/
|
/**/
|
||||||
834,
|
834,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user