Hi Bram,

2014/7/4(Fri) 19:05:30 UTC+9 Bram Moolenaar:
> Hirohito Higashi wrote:
> 
> 
> 
> > Hi Carlos,
> 
> > 
> 
> > 2014/7/3(Thu) 5:04:10 UTC+9 Carlos Pita:
> 
> > > When the omnifunc provides extra info to be shown in the preview window 
> > > (in case preview is included in completeopt) there is a permanent focus 
> > > switching back and forth between the current window and the preview 
> > > window, which produces several annoying and very noticeable visual 
> > > artifacts:
> 
> > > 
> 
> > > 1) The window title flickers (it changes too fast so the change is 
> > > perceived as a flickering artifact).
> 
> > > 
> 
> > > 2) The window name at the taskbar also flickers.
> 
> > > 
> 
> > > 3) Plugins like vim-airline, which are able to show a buffer list 
> > > highlighting the current buffer, will madly switch the highlight back and 
> > > forth.
> 
> > > 
> 
> > > I think an implementation which doesn't switch focus is in order.
> 
> > 
> 
> > Attached patch fixed 1) and 2).
> 
> > 
> 
> > Bram, what do you think?
> 
> 
> 
> It's a nice simple solution, even though it won't fix everything.
> 
> I haven't looked at the code yet, but often it's unavoidable to switch
> 
> to the buffer to be changed, which also requires switching windows,
> 
> which then requires triggering autocommands to have editing work as
> 
> expected...  Perhaps it could be done with one switch and back, instead
> 
> of switching multiple times.

I think so, my patch is really good solution. If we don't think about 
autocommands. :-(

autocommands is too powerful. 

--
Best regards,
Hirohito Higashi

-- 
-- 
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