Currently the CUI tab pages line supports drag-and-drop reordering but
the GUI tab pages line doesn't.
Attached patch enables D&D reordering in the GUI tab pages line on
Windows and Linux GTK. (Tested on Windows XP/7 and Ubuntu 12.04.)
This patch is written by Masamichi Abe (Windows) and me (Linux GTK).
Please check.
Regards,
Ken Takata
I'm afraid that you are missing the following patch because the todo item is
not updated:
https://groups.google.com/d/msg/vim_dev/_X0cpMreBiw/n4juz5_eBAAJ
> BTW, Below is also need to be modified, so that, Abe fixed this.
> > Patch for drag&drop reordering of GUI tab pages reordering.
> > (Ken Takata, 2013 Nov 22, second one, also by Masamichi Abe)
>
> https://gist.github.com/nocd5/165286495c782b815b94
The tabline-dnd patch needed to be updated after 7.4.709, and Masamichi Abe
did it. I confirmed that Masamichi's latest patch works fine with 7.4.936
(both on Windows and Linux).
https://gist.github.com/nocd5/165286495c782b815b94
Regards,
Ken Takata
2015/11/24 Tue 23:19:13 UTC+9 Bram Moolenaar wrote:
> Ken Takata wrote:
>
> > I'm afraid that you are missing the following patch because the todo item is
> > not updated:
> > https://groups.google.com/d/msg/vim_dev/_X0cpMreBiw/n4juz5_eBAAJ
> >
> > > BTW, Below is also need to be modified, so that, Abe fixed this.
> > > > Patch for drag&drop reordering of GUI tab pages reordering.
> > > > (Ken Takata, 2013 Nov 22, second one, also by Masamichi Abe)
> > >
> > > https://gist.github.com/nocd5/165286495c782b815b94
> >
> > The tabline-dnd patch needed to be updated after 7.4.709, and Masamichi Abe
> > did it. I confirmed that Masamichi's latest patch works fine with 7.4.936
> > (both on Windows and Linux).
> > https://gist.github.com/nocd5/165286495c782b815b94
>
> I'll add the github link to the todo item.
I have updated the tabline-dnd patch to support GTK3.
I have updated the tabline-dnd patch. An error when using cproto has been
fixed. I'm waiting this patch to be included for a long time. I think this
patch is very useful especially for beginners.
Regards,
Ken Takata
I'm waiting this patch to be merged nearly 4 years...
I feel sorry to Masamichi, because I suggested to him writing the Windows part
of this patch, and this is the first patch to Vim for him.
This patch is small enough and it won't break existing behavior.
We can already use D&D on CUI tab pages line. There's no reason to avoid
supporting D&D on GUI tab pages line.
The patch is not changed from previous one. It is also available at:
https://bitbucket.org/k_takata/vim-ktakata-mq/src/045f9ace55f8dbfb53de2aacd1387d3e05fb36fd/tabline-dnd.patch?at=default&fileviewer=file-view-default
Regards,
Ken Takata
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.