On Wednesday, June 11, 2014 2:11:17 PM UTC-5, Ben Fritz wrote: > On Wednesday, June 11, 2014 12:51:52 PM UTC-5, Christian Brabandt wrote: > > Hi Benjamin! > > > > On Mi, 11 Jun 2014, Benjamin Fritz wrote: > > > > > In gvim 7.4.292 64-bit, on 64-bit Windows 7, when I do a > > > :'<,'>s/pattern/replacement/gc command, the active match (the one > > > which will be replaced depending on my answer to the prompt from 'c') > > > is getting the Search highlight instead of the IncSearch highlight. > > > > > > :help hl-IncSearch indicates that the IncSearch highlight should apply. > > > > > > Can anyone else confirm this behavior, or should I start digging into > > > my Vim config for more detail on root cause? > > > > I don't see this. Is perhaps something messing with your 'highlight' > > setting? > > Nope, highlight is still set to default. > > I just experimented with: > > gvim -N -u NONE -i NONE > :set incsearch hlsearch > > and this behavior goes away. But with my normal Vim config it happens. I guess > I'll need to investigate more :-(
I narrowed the problem down to a call to eclim#project#util#ProjectStatusLine() in my statusline, where that function comes from the "eclim" plugin. When I remove this function call from my statusline, the problem goes away. But I can't figure out what about that function is causing the problem. It does shell out to do some tasks, but when I tried using system() or exec '!...' in a statusline function, all I could do was create an infinite loop as shell windows pop up, steal focus, return focus, and trigger another statusline update. I could not replicate the missing IncSearch highlighting. It does appear at times that the IncSearch highlight appears briefly and is then removed, in my normal config. -- -- You received this message from the "vim_use" 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_use" 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.
