Christian wrote:

> On Mo, 17 Nov 2014, Nazri Ramliy wrote:
> 
> > Steps to reproduce (in a 120 columns by 84 rows terminal):
> > 
> > $ echo $COLUMNS $LINES
> > 74 120
> > $ {
> > for i in `seq 1 8`; do printf 'lorem ipsum '; done
> > echo
> > for i in `seq 1 4`; do
> >      for i in `seq 1 60`; do printf ' '; done
> >      for i in `seq 1 8`; do printf 'lorem ipsum '; done
> >      echo
> > done
> > for i in `seq 1 2`; do
> >      printf '   lorem ipsum'
> >      echo
> > done
> > } | vi -u NONE -c 'set rnu linebreak' -
> > 
> > Now visual-block select the last two lines and start insert mode as if
> > you want to insert common text at the beginning of the two lines:
> > 
> > Gk<c-v>j
> > 
> > Note the relative line numbers, and hit "I"
> > 
> > Bug 1: Notice that the relative numbers above the current cursor is no
> > longer correct.
> 
> Attached patch should fix it.

Thanks!

> > Bug 2: Now type one character in that insert mode and notice that the
> > lines above the cursor is redrawn as if "set nolinebreak" was set. As
> > soon as you hit escape the lines above the cursor is redrawn again
> > with the proper effect of "set linebreak".
> 
> Patch from 
> https://groups.google.com/d/msg/vim_dev/kv5kg0fZxRQ/1grx0E-XlIUJ
> should fix this one.

-- 
Shaw's Principle: Build a system that even a fool can use, and
only a fool will want to use it.

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