Hi Roland!

On Sa, 10 Jan 2015, Roland Eggner wrote:

> On 2015-01-09 Friday at 19:14 +0000 [email protected] wrote:
> > Status: New Owner: ---- Labels: Type-Defect Priority-Medium
> > 
> > New issue 312 by [email protected]: word wrapping messed up when
> > entering Insert mode with 'c' or 's'
> > https://code.google.com/p/vim/issues/detail?id=312
> > 
> > What steps will reproduce the problem? 1. set linebreak 2. Fill the
> > line with words until it wraps, make sure that the first  character
> > in the wrapped word could still fit on the previous line. 3. Move to
> > anywhere on (one of) the continuation lines. 4. Press 's' to enter
> > Insert mode.
> > 
> > What is the expected output? What do you see instead? Expected: line
> > breaking prior to the cursor location does not change; word
> > wrapping remains legible. Actual: line breaks before the cursor are
> > recomputed, and do not honor word  boundaries any more.
> > 
> > What version of the product are you using? On what operating system?
> > Vim 7.4.473 on Ubuntu Linux. For context, vim 7.4.52 on Mint Linux
> > does not have this problem.
> > 
> > Please provide any additional information below.
> > 
> > * When entering Insert mode the cursor seems to move with the text,
> > i.e.  keep its location relative to the insert point. * After
> > quitting Insert mode (Esc) the lines of text remain the same, but
> > the cursor seems to move to the screen location where it would
> > supposedly  have been had the text layout not changed. * Outside of
> > Insert mode, hitting Ctrl-L would cause the paragraph to  rearrange
> > correctly. The cursor would align with the text that has just  been
> > edited. * This happens in both Vim and Gvim in the exact same way,
> > so not a  terminal issue. * Happens regardless of the value of
> > showbreak. * This may be related to the breakindent feature, which
> > is present in my  buggy version (7.4.473) but not the good version
> > (7.4.52).
> 
> This is probably the same issue as has been reported several weeks
> ago.
> 
> Christian Brabandt provided two patches already.  Both are on Brams
> todo list and not yet included.  For your convenience I have attached
> my versions updated for 7.4.529.  It appears they apply to current tip
> 7.4.567 cleanly, just for one hunk I saw an offset message.  Please
> try and report if they fix your issue.

We only need the second patch (the one, that is called "Fix bug with 
options relativenumbers and linebreak set"), right?


Best,
Christian
-- 

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