comparison src/edit.c @ 1013:61e5d40135d0 v7.0.139

updated for version 7.0-139
author vimboss
date Tue, 17 Oct 2006 11:37:50 +0000
parents 7d29124f77f5
children e6aed39f1264
comparison
equal deleted inserted replaced
1012:be8e2719caa6 1013:61e5d40135d0
8820 8820
8821 #ifdef FEAT_WINDOWS 8821 #ifdef FEAT_WINDOWS
8822 if (mod_mask & MOD_MASK_CTRL) 8822 if (mod_mask & MOD_MASK_CTRL)
8823 { 8823 {
8824 /* <C-PageUp>: tab page back */ 8824 /* <C-PageUp>: tab page back */
8825 goto_tabpage(-1); 8825 if (first_tabpage->tp_next != NULL)
8826 {
8827 start_arrow(&curwin->w_cursor);
8828 goto_tabpage(-1);
8829 }
8826 return; 8830 return;
8827 } 8831 }
8828 #endif 8832 #endif
8829 8833
8830 tpos = curwin->w_cursor; 8834 tpos = curwin->w_cursor;
8879 8883
8880 #ifdef FEAT_WINDOWS 8884 #ifdef FEAT_WINDOWS
8881 if (mod_mask & MOD_MASK_CTRL) 8885 if (mod_mask & MOD_MASK_CTRL)
8882 { 8886 {
8883 /* <C-PageDown>: tab page forward */ 8887 /* <C-PageDown>: tab page forward */
8884 goto_tabpage(0); 8888 if (first_tabpage->tp_next != NULL)
8889 {
8890 start_arrow(&curwin->w_cursor);
8891 goto_tabpage(0);
8892 }
8885 return; 8893 return;
8886 } 8894 }
8887 #endif 8895 #endif
8888 8896
8889 tpos = curwin->w_cursor; 8897 tpos = curwin->w_cursor;