Christian Brabandt wrote:

> > > Hi,
> > > I have found a breakindent bug.
> > > 
> > > Take the attached script and source it. Note, how the final d seems to be 
> > > further to the right, then expected. (It isn't even reachable, if you 
> > > press $ the cursor will stay before it, but pressing ga will show, that 
> > > you are actually on the correct location).
> > > 
> > > The bug seems to be, that under certain conditions, an extra indent is 
> > > applied, although it isn't necessary.
> > > 
> > > Here is a half-working patch that seems to fix it, but I am not sure,
> > > this is the right way and also this doesn't work, if 'sbr' is set.
> > 
> > Thanks, but I think I'll wait until you have a full-working patch :-).
> 
> Haha ;)
> 
> Okay, here we go:

Thanks!

[..]

> I am not entirely sure, about this and win_lbr_chartabsize is used in 
> many different places, so please review. I'll try to update 
> test_breakindent, but so far, I wasn't able to reproduce the issue 
> there.

You could reproduce the problem manually but not in a test?

-- 
hundred-and-one symptoms of being an internet addict:
37. You start looking for hot HTML addresses in public restrooms.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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