comparison src/normal.c @ 1188:2a276274c592

updated for version 7.1b
author vimboss
date Thu, 10 May 2007 16:48:19 +0000
parents c82da8beb64a
children b4b1b5324380
comparison
equal deleted inserted replaced
1187:f89c43568067 1188:2a276274c592
2714 } 2714 }
2715 #endif 2715 #endif
2716 2716
2717 #ifdef FEAT_VISUAL 2717 #ifdef FEAT_VISUAL
2718 /* Set global flag that we are extending the Visual area with mouse 2718 /* Set global flag that we are extending the Visual area with mouse
2719 * dragging; temporarily mimimize 'scrolloff'. */ 2719 * dragging; temporarily minimize 'scrolloff'. */
2720 if (VIsual_active && is_drag && p_so) 2720 if (VIsual_active && is_drag && p_so)
2721 { 2721 {
2722 /* In the very first line, allow scrolling one line */ 2722 /* In the very first line, allow scrolling one line */
2723 if (mouse_row == 0) 2723 if (mouse_row == 0)
2724 mouse_dragging = 2; 2724 mouse_dragging = 2;
3832 screen_puts(showcmd_buf, (int)Rows - 1, sc_col, 0); 3832 screen_puts(showcmd_buf, (int)Rows - 1, sc_col, 0);
3833 showcmd_is_clear = FALSE; 3833 showcmd_is_clear = FALSE;
3834 } 3834 }
3835 3835
3836 /* 3836 /*
3837 * clear the rest of an old message by outputing up to SHOWCMD_COLS spaces 3837 * clear the rest of an old message by outputting up to SHOWCMD_COLS
3838 * spaces
3838 */ 3839 */
3839 screen_puts((char_u *)" " + len, (int)Rows - 1, sc_col + len, 0); 3840 screen_puts((char_u *)" " + len, (int)Rows - 1, sc_col + len, 0);
3840 3841
3841 setcursor(); /* put cursor back where it belongs */ 3842 setcursor(); /* put cursor back where it belongs */
3842 } 3843 }
5702 PAST_LINE = (VIsual_active && *p_sel != 'o'); 5703 PAST_LINE = (VIsual_active && *p_sel != 'o');
5703 5704
5704 # ifdef FEAT_VIRTUALEDIT 5705 # ifdef FEAT_VIRTUALEDIT
5705 /* 5706 /*
5706 * In virtual mode, there's no such thing as "PAST_LINE", as lines are 5707 * In virtual mode, there's no such thing as "PAST_LINE", as lines are
5707 * (theoretically) infinitly long. 5708 * (theoretically) infinitely long.
5708 */ 5709 */
5709 if (virtual_active()) 5710 if (virtual_active())
5710 PAST_LINE = 0; 5711 PAST_LINE = 0;
5711 # endif 5712 # endif
5712 #endif 5713 #endif
6174 else 6175 else
6175 #endif 6176 #endif
6176 6177
6177 #ifdef FEAT_FIND_ID 6178 #ifdef FEAT_FIND_ID
6178 /* 6179 /*
6179 * Find the occurence(s) of the identifier or define under cursor 6180 * Find the occurrence(s) of the identifier or define under cursor
6180 * in current and included files or jump to the first occurence. 6181 * in current and included files or jump to the first occurrence.
6181 * 6182 *
6182 * search list jump 6183 * search list jump
6183 * fwd bwd fwd bwd fwd bwd 6184 * fwd bwd fwd bwd fwd bwd
6184 * identifier "]i" "[i" "]I" "[I" "]^I" "[^I" 6185 * identifier "]i" "[i" "]I" "[I" "]^I" "[^I"
6185 * define "]d" "[d" "]D" "[D" "]^D" "[^D" 6186 * define "]d" "[d" "]D" "[D" "]^D" "[^D"
7961 case '@': 7962 case '@':
7962 nv_operator(cap); 7963 nv_operator(cap);
7963 break; 7964 break;
7964 7965
7965 /* 7966 /*
7966 * "gd": Find first occurence of pattern under the cursor in the 7967 * "gd": Find first occurrence of pattern under the cursor in the
7967 * current function 7968 * current function
7968 * "gD": idem, but in the current file. 7969 * "gD": idem, but in the current file.
7969 */ 7970 */
7970 case 'd': 7971 case 'd':
7971 case 'D': 7972 case 'D':