Mercurial > vim
diff src/move.c @ 2520:6768ebd0bc04 vim73
Remove unused code.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 08 Aug 2010 16:38:42 +0200 |
parents | 1bac28a53fae |
children | 073ff46fe397 |
line wrap: on
line diff
--- a/src/move.c +++ b/src/move.c @@ -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. */