On Wednesday, May 28, 2014 10:40:12 AM UTC+4, Christian Brabandt wrote:
> Am 2014-05-27 20:27, schrieb ​​Babken Vardanyan:
> 
> > See also: https://github.com/Valloric/YouCompleteMe/issues/992
> 
> > 
> 
> > When YouCompleteMe's diagnostic display is closed (i.e. a syntax
> 
> > problem is fixed), the cursor position is not propery updated and the
> 
> > next `h` and `l` keyspress moves the cursor relative to previous
> 
> > column position (before closing).
> 
> > 
> 
> > This should demonstrate the issue better than I can explain:
> 
> > https://cloud.githubusercontent.com/assets/4889592/3063795/688d70c2-e246-11e3-84f1-4de41a4c05f5.gif
> 
> > 
> 
> > Steps to reproduce:
> 
> > 0. Install YCM
> 
> > 1. Make a syntax mistake in a file: The 2-column diagnostic display
> 
> > should appear at the left side
> 
> > 2. Correct the syntax mistake and quickly press `l` key twice (there
> 
> > should be some more characters on the line to the left)
> 
> > What happens: First time `l` key is pressed the cursor moves 2 columns
> 
> > right from expected position.
> 
> > 
> 
> > This happens only when diagnostic display closes, and does not happen
> 
> > when it opens.
> 
> I am not sure, what you mean by diagnostic display, but looking at your
> 
> screencast, I think you are talking about the sign column (:h sign)
> 
Yes, it's the grey 2 char wide column on the left with red ">>" sign pointing 
at error.
> That looks like its related to syntastic rather then to youcompleteme.
> 
> BTW: is there a way to reproduce this issue easily? I rather not like
> 
> to install youcompleteme and syntastic to try to debug this issue.
> 
I don't have syntastic installed. Recently it was integrated into YCM:
https://github.com/Valloric/YouCompleteMe#why-did-ycm-stop-using-syntastic-for-diagnostics-display
I am not very skilled Vim user, so I can't tell if it's same as :sign, but it 
seems like it, and the bug *should* reproduce if you just open it and close it, 
but I am not sure how to do it myself.
> 
> BTW: there have been some patches integrated, that fix redrawing issues
> 
> (specifically 7.4.277 which may fix you problem). So could you please
> 
> first check with the latest vim version?
> 
> 
> kind regards,
> 
> Christian
I have latest version available from Arch repos:
$ pacman -Qi gvim|grep ^Version 
Version        : 7.4.307-1

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