Mercurial > vim
comparison src/edit.c @ 13384:6740c499de13 v8.0.1566
patch 8.0.1566: too many #ifdefs
commit https://github.com/vim/vim/commit/8a3bb56230d220b8e1b4dcca517ed95f5341b8c7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 4 20:14:14 2018 +0100
patch 8.0.1566: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 04 Mar 2018 20:15:05 +0100 |
parents | 69517d67421f |
children | 338b15c63e2c |
comparison
equal
deleted
inserted
replaced
13383:22bb9735bd16 | 13384:6740c499de13 |
---|---|
762 * Redraw the display when no characters are waiting. | 762 * Redraw the display when no characters are waiting. |
763 * Also shows mode, ruler and positions cursor. | 763 * Also shows mode, ruler and positions cursor. |
764 */ | 764 */ |
765 ins_redraw(TRUE); | 765 ins_redraw(TRUE); |
766 | 766 |
767 #ifdef FEAT_SCROLLBIND | |
768 if (curwin->w_p_scb) | 767 if (curwin->w_p_scb) |
769 do_check_scrollbind(TRUE); | 768 do_check_scrollbind(TRUE); |
770 #endif | 769 |
771 | |
772 #ifdef FEAT_CURSORBIND | |
773 if (curwin->w_p_crb) | 770 if (curwin->w_p_crb) |
774 do_check_cursorbind(); | 771 do_check_cursorbind(); |
775 #endif | |
776 update_curswant(); | 772 update_curswant(); |
777 old_topline = curwin->w_topline; | 773 old_topline = curwin->w_topline; |
778 #ifdef FEAT_DIFF | 774 #ifdef FEAT_DIFF |
779 old_topfill = curwin->w_topfill; | 775 old_topfill = curwin->w_topfill; |
780 #endif | 776 #endif |