On So, 17 Sep 2017, Bram Moolenaar wrote:

> Patch 8.0.1123
> Problem:    Cannot define a toolbar for a window.
> Solution:   Add a window-local toolbar.
> Files:      src/syntax.c, src/proto/syntax.pro, src/structs.h, src/menu.c,
>             src/proto/menu.pro, src/testdir/test_winbar.vim, src/Makefile,
>             src/normal.c, src/testdir/Make_all.mak, src/if_perl.xs,
>             src/eval.c, src/evalfunc.c, src/window.c, src/ui.c,
>             src/terminal.c, src/screen.c,
>             runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
>             runtime/doc/gui.txt, runtime/doc/terminal.txt

I feel like I am missing information how to add a toolbar to other 
windows as well. I looked at the patch, and couldn't find out how you 
added those toolbar commands to actually appear at the main window.

I just tried out latest Vim to see how this works and it looks like the 
toolbar will only get displayed, once the window actually starts to 
scroll, e.g. a redraw of the first line will show those toolbar 
commands. Unfortunately, a <ctrl-l> will remove the toolbar again.

At first this was confusing, because I expected a toolbar and nothing 
showed up, until after I started to scroll the window (using the 
cursor).

Also after scrolling up and down a bit the toolbar also scrolls a bit 
and appears in the middle of the window.

Christian
-- 
Heute: Tag, an dem man gute Vorsätze faßt.
Morgen: Frühester Termin für ihre Verwirklichung.
                -- Ron Kritzfeld

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui