|
Karsten Hopp |
11d165 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
11d165 |
Subject: Patch 7.4.857
|
|
Karsten Hopp |
11d165 |
Fcc: outbox
|
|
Karsten Hopp |
11d165 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
11d165 |
Mime-Version: 1.0
|
|
Karsten Hopp |
11d165 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
11d165 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
11d165 |
------------
|
|
Karsten Hopp |
11d165 |
|
|
Karsten Hopp |
11d165 |
Patch 7.4.857
|
|
Karsten Hopp |
11d165 |
Problem: Dragging the current tab with the mouse doesn't work properly.
|
|
Karsten Hopp |
11d165 |
Solution: Take the current tabpage index into account. (Hirohito Higashi)
|
|
Karsten Hopp |
11d165 |
Files: src/normal.c
|
|
Karsten Hopp |
11d165 |
|
|
Karsten Hopp |
11d165 |
|
|
Karsten Hopp |
11d165 |
*** ../vim-7.4.856/src/normal.c 2015-08-11 19:13:55.142175641 +0200
|
|
Karsten Hopp |
11d165 |
--- src/normal.c 2015-09-08 17:50:31.147618211 +0200
|
|
Karsten Hopp |
11d165 |
***************
|
|
Karsten Hopp |
11d165 |
*** 2561,2567 ****
|
|
Karsten Hopp |
11d165 |
if (in_tab_line)
|
|
Karsten Hopp |
11d165 |
{
|
|
Karsten Hopp |
11d165 |
c1 = TabPageIdxs[mouse_col];
|
|
Karsten Hopp |
11d165 |
! tabpage_move(c1 <= 0 ? 9999 : c1 - 1);
|
|
Karsten Hopp |
11d165 |
}
|
|
Karsten Hopp |
11d165 |
return FALSE;
|
|
Karsten Hopp |
11d165 |
}
|
|
Karsten Hopp |
11d165 |
--- 2561,2568 ----
|
|
Karsten Hopp |
11d165 |
if (in_tab_line)
|
|
Karsten Hopp |
11d165 |
{
|
|
Karsten Hopp |
11d165 |
c1 = TabPageIdxs[mouse_col];
|
|
Karsten Hopp |
11d165 |
! tabpage_move(c1 <= 0 ? 9999 : c1 < tabpage_index(curtab)
|
|
Karsten Hopp |
11d165 |
! ? c1 - 1 : c1);
|
|
Karsten Hopp |
11d165 |
}
|
|
Karsten Hopp |
11d165 |
return FALSE;
|
|
Karsten Hopp |
11d165 |
}
|
|
Karsten Hopp |
11d165 |
*** ../vim-7.4.856/src/version.c 2015-09-08 17:31:38.591350883 +0200
|
|
Karsten Hopp |
11d165 |
--- src/version.c 2015-09-08 17:48:17.700998564 +0200
|
|
Karsten Hopp |
11d165 |
***************
|
|
Karsten Hopp |
11d165 |
*** 743,744 ****
|
|
Karsten Hopp |
11d165 |
--- 743,746 ----
|
|
Karsten Hopp |
11d165 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
11d165 |
+ /**/
|
|
Karsten Hopp |
11d165 |
+ 857,
|
|
Karsten Hopp |
11d165 |
/**/
|
|
Karsten Hopp |
11d165 |
|
|
Karsten Hopp |
11d165 |
--
|
|
Karsten Hopp |
11d165 |
BODY: I'm not dead!
|
|
Karsten Hopp |
11d165 |
CART DRIVER: 'Ere. He says he's not dead.
|
|
Karsten Hopp |
11d165 |
LARGE MAN: Yes he is.
|
|
Karsten Hopp |
11d165 |
BODY: I'm not!
|
|
Karsten Hopp |
11d165 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
11d165 |
|
|
Karsten Hopp |
11d165 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
11d165 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
11d165 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
11d165 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|