James Vega wrote:

> Patch 7.3.251 inadvertently changed how C behaves on the last line of
> the file, when it is blank.  Given this command
> 
>   vim -u NONE -N -c 'call setline("$", ["11", ""])' -c 'call feedkeys("GC")'
> 
> pre-7.3.251 would simply leave the cursor in insert mode on line 2.
> After 7.3.251, line 2 is deleted and the cursor is in insert mode at the
> *start* of line 1.
> 
> Since 7.3.251 was just supposed to special case for gH<Del>, the
> attached patch verifies the op is OP_DELETE before using the new
> behavior.

Thanks.  I had problems reproducing this problem at first.

-- 
hundred-and-one symptoms of being an internet addict:
7. You finally do take that vacation, but only after buying a cellular modem
   and a laptop.

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

Raspunde prin e-mail lui