diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-02-27 00:08:02 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-02-27 00:08:02 +0000 |
commit | a23ccb8ac6c470d72eb3d081625926965d3a9f52 (patch) | |
tree | 16faa02ddbe83b3b1b35cafea7ea661e748cfbcd /src/ex_getln.c | |
parent | 1cad2925030b60643dfa9bf441da146ec6e7c014 (diff) | |
download | vim-git-a23ccb8ac6c470d72eb3d081625926965d3a9f52.tar.gz |
updated for version 7.0208
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index bac600cf5..061f8c4f5 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -1224,21 +1224,21 @@ getcmdline(firstc, count, indent) # endif if (!mouse_has(MOUSE_COMMAND)) goto cmdline_not_changed; /* Ignore mouse */ -#ifdef FEAT_CLIPBOARD +# ifdef FEAT_CLIPBOARD if (clip_star.available) cmdline_paste('*', TRUE); else -#endif +# endif cmdline_paste(0, TRUE); redrawcmd(); goto cmdline_changed; -#ifdef FEAT_DND +# ifdef FEAT_DND case K_DROP: cmdline_paste('~', TRUE); redrawcmd(); goto cmdline_changed; -#endif +# endif case K_LEFTDRAG: case K_LEFTRELEASE: @@ -1291,7 +1291,7 @@ getcmdline(firstc, count, indent) if (mouse_row <= cmdline_row + ccline.cmdspos / Columns && mouse_col < ccline.cmdspos % Columns + i) break; -#ifdef FEAT_MBYTE +# ifdef FEAT_MBYTE if (has_mbyte) { /* Count ">" for double-wide char that doesn't fit. */ @@ -1299,7 +1299,7 @@ getcmdline(firstc, count, indent) ccline.cmdpos += (*mb_ptr2len)(ccline.cmdbuff + ccline.cmdpos) - 1; } -#endif +# endif ccline.cmdspos += i; } goto cmdline_not_changed; @@ -1339,6 +1339,16 @@ getcmdline(firstc, count, indent) } goto cmdline_not_changed; #endif +#ifdef FEAT_GUI_TABLINE + case K_TABLINE: + case K_TABMENU: + /* Don't want to change any tabs here. Make sure the same tab + * is still selected. */ + if (gui_use_tabline()) + gui_mch_set_curtab(tabpage_index(curtab)); + goto cmdline_not_changed; +#endif + case K_SELECT: /* end of Select mode mapping - ignore */ goto cmdline_not_changed; |