Christian Brabandt wrote:

> Hi Dominique!
>
> On Sa, 24 Mär 2012, Dominique Pellé wrote:
>
>> - cursor at wrong position after tabs when doing:
>>   $ vim -u NONE -c 'set nocp hls cole=3 cocu=n|syntax on|he :index|/rint'
>>   (then press  n  to go to next matches)
>
> This is probably the same error, I reported some time ago:
> http://groups.google.com/group/vim_dev/browse_thread/thread/50b3ad720d3232b3/b36a94dd486b2287?lnk=gst&q=christian+brabandt+conceal#b36a94dd486b2287
>
> regards,
> Christian


Hi Christian

Thanks for the link. Your patch (Oct 7, 2011) and my patch (Mar 18, 2012)
touch indeed the same lines of code in "screen.c".

However, your patch fixes jumping to the correct char when doing
"norm! fC" in the test case that you described, but it does not fix
the 2 issues that I described in this thread (misalignment with tabs
and search jumping to wrong locations).

The patch that I proposed in the thread fixes all issues so far:
the 2 issues  described in this thread and also the issue you found
with "norm! fC".

Regards
-- Dominique

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

Raspunde prin e-mail lui