0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

Remove unused code.

This commit is contained in:
Bram Moolenaar
2010-08-08 16:38:42 +02:00
parent 83687a7215
commit 09092155a6
31 changed files with 15 additions and 714 deletions

View File

@@ -543,19 +543,6 @@ changed_cline_bef_curs_win(wp)
|VALID_CHEIGHT|VALID_TOPLINE);
}
#if 0 /* not used */
/*
* Call this function when the length of the cursor line (in screen
* characters) has changed, and the position of the cursor doesn't change.
* Need to take care of w_botline separately!
*/
void
changed_cline_aft_curs()
{
curwin->w_valid &= ~VALID_CHEIGHT;
}
#endif
/*
* Call this function when the length of a line (in screen characters) above
* the cursor have changed.
@@ -613,18 +600,6 @@ invalidate_botline_win(wp)
wp->w_valid &= ~(VALID_BOTLINE|VALID_BOTLINE_AP);
}
#if 0 /* never used */
/*
* Mark curwin->w_botline as approximated (because of some small change in the
* buffer).
*/
void
approximate_botline()
{
curwin->w_valid &= ~VALID_BOTLINE;
}
#endif
void
approximate_botline_win(wp)
win_T *wp;
@@ -632,28 +607,6 @@ approximate_botline_win(wp)
wp->w_valid &= ~VALID_BOTLINE;
}
#if 0 /* not used */
/*
* Return TRUE if curwin->w_botline is valid.
*/
int
botline_valid()
{
return (curwin->w_valid & VALID_BOTLINE);
}
#endif
#if 0 /* not used */
/*
* Return TRUE if curwin->w_botline is valid or approximated.
*/
int
botline_approximated()
{
return (curwin->w_valid & VALID_BOTLINE_AP);
}
#endif
/*
* Return TRUE if curwin->w_wrow and curwin->w_wcol are valid.
*/