comparison src/normal.c @ 682:f1b013312711

updated for version 7.0205
author vimboss
date Thu, 23 Feb 2006 21:26:58 +0000
parents 9364d114ed8d
children d7e33248b9c8
comparison
equal deleted inserted replaced
681:9364d114ed8d 682:f1b013312711
2435 && mouse_col < Columns) 2435 && mouse_col < Columns)
2436 { 2436 {
2437 c1 = TabPageIdxs[mouse_col]; 2437 c1 = TabPageIdxs[mouse_col];
2438 if (c1 >= 0) 2438 if (c1 >= 0)
2439 { 2439 {
2440 /* Go to specified tab page, or next one if not clicking on a 2440 if ((mod_mask & MOD_MASK_MULTI_CLICK) == MOD_MASK_2CLICK)
2441 * label. */ 2441 {
2442 goto_tabpage(c1); 2442 /* double click opens new page */
2443
2444 /* It's like clicking on the status line of a window. */
2445 if (curwin != old_curwin)
2446 end_visual_mode(); 2443 end_visual_mode();
2444 tabpage_new();
2445 tabpage_move(c1 == 0 ? 9999 : c1 - 1);
2446 }
2447 else
2448 {
2449 /* Go to specified tab page, or next one if not clicking
2450 * on a label. */
2451 goto_tabpage(c1);
2452
2453 /* It's like clicking on the status line of a window. */
2454 if (curwin != old_curwin)
2455 end_visual_mode();
2456 }
2447 } 2457 }
2448 else if (c1 < 0) 2458 else if (c1 < 0)
2449 { 2459 {
2450 tabpage_T *tp; 2460 tabpage_T *tp;
2451 2461
7892 #endif 7902 #endif
7893 7903
7894 #ifdef FEAT_WINDOWS 7904 #ifdef FEAT_WINDOWS
7895 case 't': 7905 case 't':
7896 goto_tabpage((int)cap->count0); 7906 goto_tabpage((int)cap->count0);
7907 break;
7908 case 'T':
7909 goto_tabpage(-(int)cap->count1);
7897 break; 7910 break;
7898 #endif 7911 #endif
7899 7912
7900 default: 7913 default:
7901 clearopbeep(oap); 7914 clearopbeep(oap);