diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-08-08 16:38:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-08-08 16:38:42 +0200 |
commit | 09092155a66388bbd7be8d16debb35abfcfae700 (patch) | |
tree | 4cbe7f4f0d5c763405f721f7f5dba08864e53ef3 /src/move.c | |
parent | 83687a72155c70c062c689a9c545b5cdf5ebd0b4 (diff) | |
download | vim-git-09092155a66388bbd7be8d16debb35abfcfae700.tar.gz |
Remove unused code.
Diffstat (limited to 'src/move.c')
-rw-r--r-- | src/move.c | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/move.c b/src/move.c index 3dd45c00d..173063134 100644 --- 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. */ |